Tool-definition quality: outputSchema + annotations on every MCP tool (#42)
- Each of the five tools now declares an
outputSchemaand returns matchingstructuredContent, so structured-output-aware clients get typed results alongside the existing text output. - Every tool carries
annotations(titleplusreadOnlyHint/destructiveHint/idempotentHint/openWorldHint) so clients can reason about a tool's side effects — e.g.retrieve_flattenedis read-only,unflatten_sessiondeletes its backup after a full restore.
Text output is byte-identical; structuredContent is additive. Flatten/unflatten round-trips remain byte-for-byte (disk and in-memory).
Install
claude mcp add flatten -s user -- npx -y flatten-mcp@2.5.0
Full changelog: v2.4.0...v2.5.0