Skip to main content
Glama

schema_validate

Read-only

Validate schemas before saving. Checks for conflicts with existing schemas, circular dependencies, reserved names, and parent_type correctness. Always validate before saving!

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 openWorldHint=false, so the safety profile is covered; the description adds genuine value by enumerating what is checked (conflicts, circular dependencies, reserved names, parent_type correctness). It does not disclose what a failing validation returns or whether it raises an error, which is the remaining behavioral gap.

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?

Two short sentences with the purpose front-loaded and the checks enumerated tightly. The exclamatory second sentence slightly restates the 'before saving' clause of the first, a minor redundancy.

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?

For a read-only single-parameter validation tool with no output schema, the description covers what is checked and when to call it. The one omission an agent would want is the result format on failure (issue list vs. thrown error), which the absent output schema leaves unexplained.

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?

Schema coverage is 100% and there is a single required array parameter already documented as 'Array of schema definitions to validate.' The description adds nothing about the shape of individual schema objects or required keys within them, 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 (validate) and resource (schemas), plus the timing constraint (before saving) and the exact categories of checks performed. An agent can distinguish this from schema_save or schema_update without opening any schema.

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?

The closing directive 'Always validate before saving!' makes the intended workflow and prerequisites clear, implicitly positioning this as a pre-flight step to schema_save. It stops short of naming schema_save as the alternative or stating when validation can be skipped, but the context is unmistakable.

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.