Skip to main content
Glama

JSON-LD & Schema Viewer

schema-viewer

Parse, validate and summarize a structured JSON or JSON-LD document. Accepts a JSON string (json) or a URL to fetch (url). Returns syntax validity, JSON-LD signals (@context, @type), node count, top-level keys, and the parsed structure. Use this when a user pastes structured data / schema.org markup and wants it checked, explained or cleaned up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoOptional public http(s) URL to fetch JSON/JSON-LD from.
jsonNoThe JSON or JSON-LD document as a string.
localeNoUI language for the rendered card.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose behavior: it performs a network fetch for the `url` input, and it enumerates what is returned (syntax validity, JSON-LD signals, node count, top-level keys, parsed structure). It does not mention size limits, fetch failure/timeout behavior, or that the operation is non-mutating, so it falls short of full disclosure.

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?

Three compact sentences, front-loaded with the core action, followed by inputs, then outputs, then the usage trigger. Every sentence carries information and nothing is padded.

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?

With no output schema, the description usefully compensates by summarizing the return payload, and it covers both input paths. It omits edge-case behavior (neither input supplied, both supplied, fetch failures), which matters for a zero-required-parameter tool.

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 all three parameters are already documented in the schema, giving a baseline of 3. The description restates the two input modes (`json` string vs `url` to fetch) but omits the `locale` parameter entirely and does not clarify precedence if both inputs are supplied.

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 opens with a specific verb triple (parse, validate, summarize) applied to a well-scoped resource (structured JSON or JSON-LD document). No sibling tool overlaps with this function, so an agent can route to it unambiguously.

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?

It names the concrete trigger condition: 'when a user pastes structured data / schema.org markup and wants it checked, explained or cleaned up.' That is clear context with no ambiguity, but it offers no explicit exclusions or alternative tools for related tasks (e.g. jwt-decoder for tokens).

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