Skip to main content
Glama

schema_validate

Read-only

Validates schemas without saving them: conflicts with existing schemas, circular dependencies, reserved names and parent_type. Input: schemas. Returns errors and warnings. Useful before schema_save.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "schemas": "<schemas>"
    },
    "name": "schema_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemasYesArray of schema definitions to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with "without saving them" and "Returns errors and warnings", telling the agent the result shape without a persistent side effect. It adds genuine value beyond the annotations but does not clarify, for example, whether validation is blocking or whether warnings require action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and scope, then the checked conditions, then the return contract, then the workflow hint — a well-ordered single block with no filler. The "Input: schemas" fragment is redundant with the schema and is the only wasted clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description compensates by saying it returns errors and warnings. For a single-parameter, non-destructive validation dry-run, that is close to complete, though it could say more about the form of the returned diagnostics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single required parameter at 100% schema coverage, and the schema already documents it as an array of schema definitions to validate. The description only restates this as "Input: schemas", adding no structure, shape, or format detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Validates schemas") plus a crucial scope qualifier ("without saving them") that separates it from schema_save. It then enumerates exactly what is checked — conflicts, circular dependencies, reserved names, parent_type — so an agent knows precisely what this tool covers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Useful before schema_save" gives explicit usage context and names the sibling alternative in the natural workflow, while "without saving them" clarifies the division of labor. It stops short of stating when-not to use it or what to do with the warnings, so it is strong but not fully exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.