Repository navigation
Description
Goal: one common tool shape for every client (Claude, ChatGPT, Gemini, Codex, Cursor, Hermes, ...), so docs, skills, plugins and the manual describe one surface.
Two things pull against that today:
- Google's new Connected Apps Platform (MCP apps in Gemini and Search AI Mode) has a policy that constrains tool shape. Some grouped tools from the 1.0 surface (1.0 MCP tool surface: one tool per job, bm_ names #1827) may read as "generic dispatchers" to a strict reviewer.
- ChatGPT already gets a different surface: Cloud registers
searchandfetchadapters only for OpenAI clients.
This issue records where we stand and the options, so we decide once, for every client.
Policy: https://developers.google.com/connected-apps/connected-apps-policy
What the policy says
- "Connected Apps must statically declare all callable tool operations in the console at registration time."
- Apps "must not expose dynamic discovery functions (e.g.,
list_tools,get_schema) or generic runtime dispatchers (e.g.,execute_command,invoke_dynamic_tool)." - Each tool should use "distinct, unambiguous language," and descriptions must not "reference other tools or create new rules for when or how other tools should be used."
- Tools that make sensitive or irreversible changes (altering persistent state, deleting data, changing access) must set
destructiveHint: trueor require confirmation. - Apps must not request or collect "full conversation context."
Where the 1.0 surface stands
Every tool and every command value is a closed, statically declared enum, so nothing is discovered at runtime and nothing dispatches an open-ended command. The question is whether a reviewer reads "one tool per operation" strictly.
| Tool | Shape | Risk |
|---|---|---|
bm_agent (Cloud) |
command: list, status, run, get, changes, runs, review, keep_all, mark |
Highest. Nine operations, reads and writes mixed. |
bm_review (Cloud) |
command: comment, suggest, reply, resolve, accept, reject |
Medium |
bm_project |
command: list, create, recent, info, usage |
Medium. Reads and a write in one tool. |
bm_schema |
command: validate, infer, diff |
Medium. Name is close to the banned get_schema, though it is about note schemas. |
bm_man |
reads manual pages for any tool | Medium. Closest to "dynamic discovery." |
bm_edit |
command: append, prepend, find_replace, ... |
Low. One operation with variants. |
Annotations: bm_delete, bm_write, bm_edit and project delete set destructiveHint: true. bm_move sets false; a move changes persistent state but is reversible.
Descriptions: several tool descriptions and the server instructions point at other bm_* tools ("read with bm_read first", "use bm_open to show"). The policy line is probably aimed at steering other apps' tools, but a strict reading could flag it.
ChatGPT adapters in Cloud
Cloud serves two extra tools, search and fetch, in apps/cloud/.../hosted_mcp/chatgpt_tools.py. They wrap bm_search and bm_read. OpenAI's connector review expects tools with exactly these names, answering in one shape: a list holding a single {"type": "text", "text": "{...json...}"} item. They are registered only when the client is identified as OpenAI (is_openai_mcp_client); other clients are refused. Core documents them as chatgpt-search(3) and chatgpt-fetch(3).
So today there are already two surfaces: bm_* everywhere, plus search / fetch for ChatGPT. Ways to get to one:
- Serve
searchandfetchto every client as part of the common surface. They are single-purpose and read-only, which also fits Google's policy. Cost: two tools that overlapbm_search/bm_read. - Find out whether OpenAI's review still requires these exact names and response shape. If not, retire the adapters and use
bm_search/bm_readfor ChatGPT too.
Options
- Keep the 1.0 shape. Argue that the command enums are closed and declared, not dispatchers. No work now. Risk: a strict reviewer.
- Split grouped tools everywhere. One tool per operation for every client (
bm_project_list,bm_project_create,bm_review_comment, ...). Still one shape, docs and skills change once. Cost: more tools, and it reverses the 1.0 consolidation. Needs an eval run (1.0 tools: eval harness v1 surface and v0.24.1 baseline #1828) to check tool selection does not get worse. - Per-client profile (like the ChatGPT
search/fetchadapters). Rejected: a second surface means a second set of docs, skills and manual pages to keep in sync. The ChatGPT adapters are the existing case of this and should move toward the common shape too.
Current decision
One common shape for all clients. For now that means keeping the 1.0 shape (option 1) and working toward folding the ChatGPT adapters into the common surface. Revisit the grouped tools only if Google's review pushes back, and then change the shape everywhere (option 2), not per client. If pushed, the first candidates are:
- drop or rename
bm_man(closest to banned discovery) - split
bm_agentinto read tools and an explicit run tool - set
destructiveHint: trueonbm_move
Related
- 1.0 MCP tool surface: one tool per job, bm_ names #1827 1.0 MCP tool surface (SPEC-35.2 "Tool Shapes for 1.0")
- 1.0 tools: eval harness v1 surface and v0.24.1 baseline #1828 eval harness, the way to measure any split
- Cloud: ChatGPT
search/fetchadapters (hosted_mcp/chatgpt_tools.py)
Activity
claude commentedon Nov 3, 2026
Claude finished @phernandez's task in 25s —— View job
Triage
bm_agentandbm_revieware Cloud-only, but the decision applies to every client, so I did not apply thecloudlabel.Notes
destructiveHint: trueonbm_move. This is the cheapest change and the one the policy most directly requires: a move alters persistent state, and the policy says such tools must set the hint or require confirmation.bm_man.bm_agentinto read tools and an explicit run tool.bm_*cross-references in tool descriptions and server instructions would need rewording under option 1 as well as option 2. A grep-based audit of those strings would show how many there are.I made no code changes, as this was triage only.
[-]MCP tool shapes vs Google Connected Apps policy (grouped command tools)[/-][+]One common MCP tool shape for every client (Google Connected Apps policy, ChatGPT adapters)[/+]phernandez commentedon Nov 6, 2026
Decision update (2026-11-06): we're moving from option 1 to option 2, unrolling the subcommand pattern into one tool per operation for every client. Chat clients handle the grouped
commandtools poorly.First piece:
bm_agentplus agent templates as tools, in basicmachines-co/basic-memory-cloud#3011. Next comebm_project,bm_review,bm_schemaandbm_edit, measured with the #1828 eval.🤖 Generated with Claude Code
feat(mcp)!: split bm_project into one tool per operation (#2068)
feat(mcp)!: split bm_schema into one tool per operation (#2069)
feat(mcp)!: drop the memory://ai_assistant_guide resource (#2071)
phernandez commentedon Nov 12, 2026
Closing. The tool split landed in #2068 (bm_project), #2069 (bm_schema) and #2071 (dropped memory://ai_assistant_guide).