Skip to content

Description is too long for the tool search_code (MCP Server) for o3-mini #9

@lutzleonhardt

Description

@lutzleonhardt

Describe the bug
I am using probe as MCP server inside of MCP-Bridge:

"mcp_servers": {
    "probe": {
      "command": "npx",
      "args": ["-y", "@buger/probe-mcp@0.3.0-rc14"]
    }
  }

o3-mini complains about the description size of the search_code tool:

  "error": {
    "message": "Invalid 'tools[0].function.description': string too long. Expected a string with maximum length 1024, but got a string with length 2472 instead.",
    "type": "invalid_request_error",
    "param": "tools[0].function.description",
    "code": "string_above_max_length"
  }
}

To Reproduce
Steps to reproduce the behavior:

  • use o3-mini with mcp-server npx -y @buger/probe-mcp@0.3.0-rc14

Expected behavior
The description length should be less/eq than 1024 chars.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Linux Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions