Skip to main content
Glama

Ptally

Check a model for mistakes

validate_project
Read-onlyIdempotent

Server-side schema validation of a project config. Returns { valid: true/false, errors: [...] } with the JSON path, keyword, and message for each issue. Prefer local validation against get_schema during authoring; use this as a ground-truth check, including on an amended model before handing it back to the user as a file. Pass exactly one of inline project or a base64-gzipped project_gz (if the inline form is too large for your client); passing neither or both returns an error result.

Input Schema

NameRequiredDescriptionDefault
projectNo
project_gzNoOptional. Base64-encoded gzip of the project JSON, used as an alternative to inline `project` when the caller cannot fit the full payload in a single tool argument. Mutually exclusive with `project`. Pricing JSON typically compresses 5-10x.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, it discloses the result shape and each error's JSON path, keyword, and message, which is especially valuable because there is no output schema. It also states that supplying neither or both inputs returns an error result, and nothing contradicts the annotations.

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

Conciseness5/5

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

Purpose and result behavior come first, followed by usage guidance and input constraints. Each sentence contributes distinct operational information, and the wording remains efficient without unnecessary repetition.

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

Completeness5/5

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

For a nested two-input validation tool with no output schema, the description covers purpose, alternatives, response contents, input cardinality, mutual exclusivity, and failure behavior. The schema supplies the project structure while get_schema is named for authoring-time validation details, leaving no material invocation gap.

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

Parameters5/5

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

The description adds the exactly-one-of constraint missing from the top-level schema and explains the choice between inline project and base64-gzipped project_gz based on client payload limits. Together with the nested project schema and detailed project_gz schema description, this supplies the semantics needed for correct invocation despite 50% schema coverage.

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?

The opening sentence identifies the operation, "Server-side schema validation," and the resource, "a project config," narrowing the broader title to schema validation rather than general correctness checking. The comparison with local validation via get_schema also distinguishes it from that sibling.

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

Usage Guidelines5/5

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

It explicitly prefers local get_schema validation during authoring and positions this tool as the ground-truth check, including before returning an amended model to the user. It also specifies when project_gz is appropriate, providing concrete selection guidance for both the tool and its input modes.

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.

Resources