Skip to content

docs(router): document omit_tool_name_prefix config for MCP tool names#221

Closed
shamashel wants to merge 7 commits intowundergraph:mainfrom
shamashel:mike/docs-omit-operation-prefix
Closed

docs(router): document omit_tool_name_prefix config for MCP tool names#221
shamashel wants to merge 7 commits intowundergraph:mainfrom
shamashel:mike/docs-omit-operation-prefix

Conversation

@shamashel
Copy link

@shamashel shamashel commented Jan 5, 2026

Summary

Documents the new omit_tool_name_prefix configuration option for MCP tool names.

Replaces #216 (directive-based approach was superseded by config-based approach)

Related implementation: wundergraph/cosmo#2441

Changes

  • Added omit_tool_name_prefix to config example with inline comment
  • Added new row to Configuration Options table (includes env var MCP_OMIT_TOOL_NAME_PREFIX)
  • Added "Omitting the Tool Name Prefix" subsection with examples and breaking change warning
  • Added Info note about automatic collision detection with built-in tools

Add documentation for the new omit_operation_prefix configuration option
that allows cleaner MCP tool names without the execute_operation_ prefix.

Related: wundergraph/cosmo#2441
@shamashel shamashel changed the title docs(router): document omit_operation_prefix config for MCP tool names docs(router): document strip_tool_name_prefix config for MCP tool names Jan 5, 2026
Updated the description of the 'strip_tool_name_prefix' option to clarify its effect on tool name length and its optional nature.
@shamashel shamashel requested a review from StarpTech January 7, 2026 17:23
@shamashel shamashel changed the title docs(router): document strip_tool_name_prefix config for MCP tool names docs(router): document omit_tool_name_prefix config for MCP tool names Jan 8, 2026
- Remove 'cleaner' language from subsection
- Add examples for default (disabled) behavior
- Replace arrow character with 'becomes'
@shamashel shamashel requested a review from endigma January 26, 2026 07:04
Copy link
Contributor

@StarpTech StarpTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@endigma endigma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution!

@endigma
Copy link
Member

endigma commented Jan 26, 2026

Superceded by #238 due to CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants