Validate Tool Schema
MCP Schema Validation Policy
Policy Name |
MCP Schema Validation |
Summary |
Validates MCP requests to ensure they conform to the MCP specification |
Category |
MCP |
First Flex Gateway version available |
v1.9.3 |
Returned Status Codes |
| This policy supports Model Context Protocol (MCP) version 2025-06-18 and earlier. To learn more about MCP, see MCP Specification. |
Summary
The MCP Schema Validation policy validates that every incoming request complies with JsonRPC MCP protocol.
When Validate Tool Schema is enabled, the policy also:
-
Validates tool invocation request parameters against the JSON schema of the tool.
-
Returns the tools/list MCP request without having to send the request to the upstream MCP Server.
When the policy can’t validate the request, it returns an MCP Error Response.
Managed Flex Gateway and Flex Gateway Connected Mode
When you apply the policy to your API instance from the UI, the following parameters are displayed:
| Parameter | Description |
|---|---|
When enabled, the policy:
|



