Skip to content

Provide an option to *not* generate content when structured content is returned #1755

@jlowin

Description

@jlowin

Enhancement

Currently, tools that infer structured content also generate serialized content payloads. This is compliant with the MCP spec guidance of what SHOULD be done for backwards compatibility. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools#structured-content

However in some cases users might want to disable this behavior globally. (On a per tool basis it is already possible by returning ToolResults I believe)

Metadata

Metadata

Assignees

Labels

enhancementImprovement to existing functionality. For issues and smaller PR improvements.serverRelated to FastMCP server implementation or server-side functionality.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions