Skip to main content
Glama

FMF Tools Doc Tools

json_validate

JSON Schema validate ($0.001 per call, paid via MPP on Tempo). Validate JSON data against a JSON Schema (draft 2020-12, 2019-09, 7, 4). Body: JSON {schema, data, draft?}. Returns valid plus every error with instance path and keyword. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/json/validate. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "schema": "<schema>",
      "data": "<data>"
    },
    "name": "json_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
draftNo
schemaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well on several fronts: it discloses per-call cost ($0.001), the payment mechanism, the auth requirement, supported drafts, and what the response contains (valid plus every error with instance path and keyword). It omits limits, failure behavior on malformed schemas, and any explicit statement that the operation is side-effect-free, which keeps it at a solid but not exceptional level.

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?

Purpose is front-loaded in the first clause and every subsequent sentence adds real information (drafts, body shape, return value, endpoint, payment). The embedded URL and the two payment sentences make it denser than ideal, but nothing is pure filler.

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, and the description compensates by describing the return value (valid flag plus errors with instance path and keyword). Combined with cost, endpoint, and auth coverage, an agent has enough to call it correctly, though default draft behavior for the nested schema object remains unspecified.

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 0%, so the description must compensate; it does partially by giving the body shape "JSON {schema, data, draft?}" and marking draft optional. However, it does not explain what the default draft is, what types data accepts, or how schema nesting is treated, so it adds shape but not deeper meaning.

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

Purpose4/5

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

States a specific verb and resource: "Validate JSON data against a JSON Schema," with supported drafts listed. It is clearly distinguishable from the conversion-oriented siblings, but it never names or contrasts an alternative, so it stops short of explicit sibling differentiation.

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?

Gives concrete invocation context: an MPP Payment Authorization header is required or you must call the HTTP route with mppx, and the wrapper does not settle payment itself. That is meaningful prerequisite guidance, but there is no when-to-use vs when-not-to-use framing or exclusion criteria.

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