[FEATURE]: Allow custom tool description #8215

Open
opened 2026-02-16 18:09:26 -05:00 by yindo · 1 comment
Owner

Originally created by @podliy16 on GitHub (Feb 1, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

Tool descriptions are hardcoded and can't be modified by users. This creates issues when:

  • Default tool instructions don't match the user's actual tools
  • Users are forced to override instructions in system/user prompts, leading to conflicting guidance
  • Token budget is wasted on irrelevant tool descriptions

Example
The bash tool description states:

Use the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed.

If I use GitLab instead, I need to tell the model about glab CLI. This creates contradictory instructions ("use gh" or "use glab") that the model may not resolve correctly.

Solution
Add a way to customize tool descriptions, possibly via a plugin system or configuration file. Synchronization issues would be the user's reponsibility.

Originally created by @podliy16 on GitHub (Feb 1, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request **Problem** Tool descriptions are hardcoded and can't be modified by users. This creates issues when: - Default tool instructions don't match the user's actual tools - Users are forced to override instructions in system/user prompts, leading to conflicting guidance - Token budget is wasted on irrelevant tool descriptions **Example** The bash tool description states: ``` Use the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed. ``` If I use GitLab instead, I need to tell the model about glab CLI. This creates contradictory instructions ("use gh" or "use glab") that the model may not resolve correctly. **Solution** Add a way to customize tool descriptions, possibly via a plugin system or configuration file. Synchronization issues would be the user's reponsibility.
yindo added the discussion label 2026-02-16 18:09:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7362: Tool call descriptions as skills - proposes moving tool descriptions to skills to reduce token cost
  • #11428: Add description field to MCP server configuration - related to customizing descriptions for specific tools
  • #9570: Support Gemini API by trimming/adapting tool descriptions - addresses tool description customization needs
  • #5715: The problem of overly long bash description - highlights issues with hardcoded tool descriptions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue might be a duplicate of existing issues. Please check: - #7362: Tool call descriptions as skills - proposes moving tool descriptions to skills to reduce token cost - #11428: Add `description` field to MCP server configuration - related to customizing descriptions for specific tools - #9570: Support Gemini API by trimming/adapting tool descriptions - addresses tool description customization needs - #5715: The problem of overly long bash description - highlights issues with hardcoded tool descriptions Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8215