Skip to main content
Glama
bicibg

Apixies MCP Server

by bicibg

validate_json_schema

Read-only

Validate JSON data against a JSON Schema (Draft-07+) to confirm conformance and get detailed error messages for any mismatches.

Instructions

Validate JSON data against a JSON Schema definition (Draft-07+). Returns whether the data is valid and detailed error messages if not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesJSON data to validate
schemaYesJSON Schema to validate against

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds useful behavioral information by specifying that the tool returns a validity result and detailed error messages. It does not contradict annotations, and since there is no output schema, this return-value disclosure is valuable.

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?

The description is a single focused sentence with no filler. The core action, data types, schema version, and result behavior are all conveyed economically and in logical order.

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 simple two-parameter tool with fully documented parameters, the description gives sufficient context: what is validated, against what, and what the caller can expect back. It does not detail malformed-input behavior, but that is a minor gap given the tool's simplicity.

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 description coverage is 100%, so the parameters are already documented as 'JSON data to validate' and 'JSON Schema to validate against'. The description adds no deeper semantic detail beyond what the schema provides, so the baseline score of 3 is appropriate.

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 description starts with a specific verb ('Validate') and clearly names both the resource and the mechanism: JSON data against a JSON Schema definition. The Draft-07+ qualifier adds precision, and the description distinguishes this from generic URL/email validators even without naming a sibling.

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

Usage Guidelines3/5

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

The description establishes an obvious use case: checking whether JSON data conforms to a schema. However, it does not explain when to prefer this over sibling validators such as validate_structured_data, nor does it mention any exclusions or limitations.

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