Context
The manage_database MCP tool inside the Memory Core openapi.yaml has an overly verbose, multi-line description.
The Problem
Bloated multi-line tool descriptions violate the MCP-Tool-Description Budget Audit. Every token spent on tool description boilerplate competes directly with the agent's limited reasoning budget in its context window. This is especially true for the manage_database tool, which spends many tokens describing multi-agent swarm recommendations and verbose start/stop conditionals.
The Architectural Reality
ai/mcp/server/memory-core/openapi.yaml -> manage_database description.
The Fix
Condense the manage_database tool description to communicate the same conditional logic (Managed vs. External start/stop behavior) in fewer words. Use x-pass-as-object: true to prevent the tool calling arguments from taking up more string processing tokens.
Acceptance Criteria
Origin Session ID: df8049d8-56ad-417b-ae0e-17a38e22a0ae
Context
The
manage_databaseMCP tool inside the Memory Coreopenapi.yamlhas an overly verbose, multi-line description.The Problem
Bloated multi-line tool descriptions violate the MCP-Tool-Description Budget Audit. Every token spent on tool description boilerplate competes directly with the agent's limited reasoning budget in its context window. This is especially true for the
manage_databasetool, which spends many tokens describing multi-agent swarm recommendations and verbose start/stop conditionals.The Architectural Reality
ai/mcp/server/memory-core/openapi.yaml->manage_databasedescription.The Fix
Condense the
manage_databasetool description to communicate the same conditional logic (Managed vs. External start/stop behavior) in fewer words. Usex-pass-as-object: trueto prevent the tool calling arguments from taking up more string processing tokens.Acceptance Criteria
manage_databasedescription is functionally equivalent but significantly shorter in word/token count.x-pass-as-object: trueadded.Origin Session ID: df8049d8-56ad-417b-ae0e-17a38e22a0ae