validate
Server Details
Deterministic validation for AI-generated artifacts: JSON Schema, OpenAPI response, SQL syntax.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- machinegrade/validate
- GitHub Stars
- 1
- Server Listing
- machinegrade-validate
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusing it with others. The tool's purpose is clear and singular.
With a single tool named 'validate', the naming is consistent and follows a simple verb format. There are no mixed conventions to cause confusion.
The server has only one tool, which feels too few for any meaningful scope. Even for a narrow validation purpose, this is excessively minimal and likely to miss common requirements.
The tool covers the core validation action, supporting multiple contract types. However, it lacks ancillary operations such as batch validation, schema management, or result history, which are minor gaps for the stated purpose.
Available Tools
1 toolvalidateAInspect
Validate an artifact against a contract (json_schema | openapi_response | sql) via the machinegrade validate API.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which validator to run. | |
| artifact | Yes | The artifact to validate, as a JSON value — not a JSON-encoded string. json_schema/openapi_response: the object/array/value itself. sql: the SQL statement as a string. | |
| contract | No | Validator-specific contract. json_schema: { schema }. openapi_response: { spec, path, method, status }. sql: { dialect }. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'validate' which implies a non-mutating check, but it does not describe return format, error behavior, or whether the operation is read-only. Key behavioral context is missing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the core action and supported contract types. 'Via the machinegrade validate API' is slightly redundant but does not add significant noise. It is concise and to the point.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has nested objects, no output schema, and no annotations, the description is insufficient. It does not explain what the validation response looks like, how to interpret results, or any error conditions, leaving the agent with significant ambiguity about expected outputs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% — all three parameters (type, artifact, contract) are described in detail. The description adds no additional parameter meaning beyond the enum values in the schema, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Validate an artifact against a contract' and enumerates the supported contract types (json_schema | openapi_response | sql). This gives a specific verb, resource, and scope, making it obvious what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use this tool by listing the three validator types, providing clear context for common validation scenarios. However, it does not explicitly mention alternatives or exclusions, as no sibling tools are present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- Changed
validate3 fields changed- changed
Input schema / properties / artifact / descriptionPrevious value: -"The artifact to validate (object for json_schema/openapi_response, SQL string for sql)."New value: +"The artifact to validate, as a JSON value — not a JSON-encoded string. json_schema/openapi_response: the object/array/value itself. sql: the SQL statement as a string." - added
Input schema / properties / artifact / typeAdded value: +[ + "object", + "array", + "string", + "number", + "boolean", + "null" +] - added
Input schema / properties / contract / typeAdded value: +"object"
1 tool update
- First observed
validate
Related MCP Connectors
Preflight QA for AI-agent deliverables with structured verdicts and repair guidance.
Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
Verified AI-agent outcomes: secret scanning, JSON cleanup, dedupe, anomaly and schema checks.
Deterministic JSON repair, validate, example-gen, schema-coerce for agents. Zero LLM, sub-10ms.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceDeterministic JSON validation and repair for AI agents. Validates, repairs, schema-checks, and diffs JSON so long-running agents don't corrupt their session state with malformed writes.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to run deterministic API validation and UI DOM checks, verifying HTTP status codes, JSON schema fields, and page elements with programmatic proof instead of LLM guesswork.MIT
- FlicenseNot gradedqualityCmaintenanceMonitor AI output schemas and API contracts for breaking changes — validate LLM JSON responses against defined schemas on a schedule1-
- AlicenseAqualityAmaintenanceValidates AI-generated Python: syntax, lint, security scan and deterministic repair.3MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.