superlocalmemory icon indicating copy to clipboard operation
superlocalmemory copied to clipboard

MCP tools: none of the 110 has a title; 37 have no annotations (Claude directory check)

Open kaspermuutra-dotcom opened this issue 1 month ago • 1 comments

Ahead of the Claude directory submission: in src/superlocalmemory/mcp/, none of the 110 @server.tool(...) registrations passes a title. 37 pass no annotations at all (e.g. evolve_skill, observe, close_session, core_memory, set_retention_policy, compact_memories), and 58 more pass only readOnlyHint.

Why it matters: Anthropic's Connectors Directory requires a title plus readOnlyHint or destructiveHint on every tool. OpenAI's app review requires every hint as an explicit true/false (not null), and reviewers call the tools to check them; a mismatch comes back as "One or more of your tool's annotations do not appear to match the tool's behavior." Clients also use these hints to decide which tools run without asking the user.

Suggested fix:

  • add title= and a full ToolAnnotations(...) (all four hints) to every registration
  • mark tools that drop or rewrite stored memories (compact_memories, set_retention_policy and similar) destructiveHint=True
  • add a test asserting that every registered tool has a title and all four hints

Disclosure: I build Suncly (suncly.com), which tests MCP tools against their annotations; I found this while reviewing public MCP servers. Happy to help verify a fix.

kaspermuutra-dotcom avatar Oct 23 '26 09:10 kaspermuutra-dotcom

Thank you, this is fixed in 4.2.12, which is being published now.

All 110 tools (112 registrations) now declare a title and all four hints as explicit booleans. Sixteen tools that delete, rewrite or overwrite stored data are destructiveHint: true (among them delete_memory, forget, compact_memories, set_retention_policy, update_memory, quantize, run_maintenance). The tools that fetch a link or may call a hosted model are openWorldHint: true. A test now fails if a registered tool lacks a title or any hint. Your report also turned up one real mislabel: slm_cache_set claimed to be read-only but writes. We'd welcome a pass with your checker.

varun369 avatar Oct 28 '26 06:10 varun369