Skip to main content
Glama

Validate JSON-LD structured data

validate_structured_data
Read-onlyIdempotent

Validate JSON-LD structured data for agent readability with checks on freshness, honesty, and consistency. Get per-check fix guidance for URLs or pasted JSON-LD.

Instructions

Validates a page's (or a pasted) JSON-LD against Agent Ready's structured-data checks (schema lint + agent-coherence: freshness honesty, canonical/.md coherence, entity-name consistency, extraction signal) and returns a verdict with per-check fix guidance. Provide exactly one of url (fetch + validate) or jsonld (validate a string the agent just authored — no network needed). Public, no API key required. The one structured-data check the first-party validators (validator.schema.org, Rich Results Test) don't do.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL of a page to fetch and validate its JSON-LD. Provide either url OR jsonld, not both.
jsonldNoA raw JSON-LD string to validate directly (paste mode) — e.g. structured data an agent just authored. Provide either jsonld OR url, not both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
urlYes
checksYes
summaryYes
Behavior4/5

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

Annotations already declare readOnlyHint true, destructiveHint false, and idempotentHint true. The description adds valuable context: it is public, requires no API key, and lists the specific checks performed (freshness, honesty, coherence, etc.), which goes beyond 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?

The description is concise (two sentences) and front-loaded with the main action. Every sentence earns its place: the first explains what the tool does and the checks, the second clarifies the parameters and unique value.

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?

Given the output schema exists, the description need not explain return values. It covers the tool's purpose, input modes, behavioral traits, and unique differentiation, making it complete for an agent to decide and invoke correctly.

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

Parameters4/5

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

Schema coverage is 100%, and the description adds meaning to each parameter: 'url' is for fetching and validating, 'jsonld' is for validating a string with no network. This adds value beyond the schema descriptions.

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 specifies a verb (validates), a resource (JSON-LD structured data), and a clear scope (Agent Ready's specific checks: schema lint + agent-coherence). It distinguishes itself from first-party validators, making the purpose unique and unmistakable.

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 description explicitly states the two usage modes (url or jsonld) and the constraint 'provide exactly one'. It also notes that no API key is required and it's public. While it does not explicitly compare to sibling tools, the siblings appear unrelated, so no further guidance is necessary.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlava/agent-ready-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server