Exposed long tool name missed by the agent

:lady_beetle: Provide a clear description of the bug

When using the github-mcp-server the add_pull_request_review_comment_to_pending_review tool is not “seen” by the AI agent.

I did ensure that the tool is exposed by the mcp server by listing tools using mcptools

$ GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_TOKEN mcptools tools github-mcp-server stdio|grep -E '^\w+'|grep add_pull_request_review_comment_to_pending_review
add_pull_request_review_comment_to_pending_review(body:str, owner:str, path:str, pullNumber:num, repo:str, subjectType:str, [line:num], [side:str], [startLine:num], [startSide:str])

:counterclockwise_arrows_button: Explain how to reproduce the bug

  1. Install github-mcp-server, see GitHub - github/github-mcp-server: GitHub's official MCP Server. Use the following mcp.json configuration
{
    "mcpServers": {
        "github": {
            "command": "/path/to/github-mcp-server",
            "args": [
                "stdio",
                "--toolsets",
                "pull_requests"
            ],
            "env": {
                "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_TOKEN_HERE"
            }
        }
    }
}
  1. Ask agent to list available tools with this prompt List raw names of all tools available to you
  2. One can assess that the add_pull_request_review_comment_to_pending_review tool is not available to the AI agent.

:camera: Attach screenshots or recordings

NOTE: When shortening the name of this tool to add_pull_request_review_comment the tool was then available to the AI agent.

:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).

  • Running Manjaro linux
$ uname -a
Linux x1 6.6.90-1-MANJARO #1 SMP PREEMPT_DYNAMIC Fri May  9 12:16:05 UTC 2025 x86_64 GNU/Linux
  • Using Cursor 0.50.7
Version: 0.50.7
VSCode Version: 1.96.2
Commit: 02270c8441bdc4b2fdbc30e6f470a589ec78d600
Date: 2025-05-24T18:26:35.462Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Linux x64 6.6.90-1-MANJARO