Skip to content

Python: [Python] MCPStreamableHTTPTool drops per-argument description fields when loading tools from an MCP Server #1357

@hjerbii

Description

@hjerbii

Hello 😊

When using MCPStreamableHTTPTool and after loading tools using load_tools() (from _mcp.py), it builds Pydantic models for MCP tools’ inputs but omits per-argument description.

The root cause seems to be _get_input_model_from_mcp_tool, which maps only type (and required/default) and discards description:

Image

Metadata

Metadata

Assignees

Labels

agentsIssues related to single agentspythonv1.0Features being tracked for the version 1.0 GA

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions