Skip to content

"Tool foo failed validation: schema must have a properties object" #251723

Open
@DanTup

Description

@DanTup

If an MCP server registers tools with no properties, this warning is printed the console for every tool.

However according to the spec, it appears that type is the only required field:

https://github.com/modelcontextprotocol/modelcontextprotocol/blob/20e5a21a1ca046db47af755ed8f0ca41eab4ed01/schema/draft/schema.json#L2391

I think this warning should be removed (or the MCP spec updated), because it seems like unnecessary noise.

Metadata

Metadata

Assignees

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