Skip to main content
Glama

Validate JSON-LD syntax

validate_schema_markup
Read-onlyIdempotent

Use this for a focused JSON-LD syntax check of supplied HTML. It parses JSON only and does not validate Schema.org vocabulary semantics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesRaw HTML markup supplied by the user; this is not a webpage URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
issuesYes
overviewYes
truncatedYes
total_issuesYes
blocks_checkedYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds useful context beyond annotations by specifying it 'parses JSON only' and does not perform semantic validation, which informs the agent of the tool's limited scope and prevents misuse.

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 extremely concise, consisting of two sentences that deliver all necessary information upfront. Every word earns its place, with no filler or redundancy.

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 presence of an output schema, rich annotations (read-only, idempotent, non-destructive), and a single well-documented parameter, the description fully covers the tool's behavior and limitations. It is complete for the tool's simplicity and the structured data surrounding it.

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?

The input schema already covers the single parameter with a clear description ('Raw HTML markup supplied by the user; this is not a webpage URL.'). The tool description reinforces 'supplied HTML' but adds no additional parameter meaning, so the baseline of 3 applies.

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 clearly states a specific action: 'focused JSON-LD syntax check of supplied HTML'. It distinguishes itself from other validation tools by explicitly noting it does not validate Schema.org vocabulary semantics, which sets it apart from broader audit tools.

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 opens with 'Use this for a focused JSON-LD syntax check', providing explicit when-to-use context. It also gives a clear exclusion: 'does not validate Schema.org vocabulary semantics', which tells the agent when NOT to use it, though it does not mention alternative tools by name.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: site audit, single page audit, SEO metadata check, broken links check, combined report generation, and separate validators for CSS, HTML, and JSON-LD. Descriptions explicitly clarify boundaries (e.g., 'does not fetch a live webpage' vs 'use for a live URL').

Naming Consistency3/5

Tools use four different verb prefixes ('audit_', 'check_', 'generate_', 'validate_') without a unifying pattern, making the naming scheme somewhat inconsistent. While each prefix is reasonable, the lack of a consistent verb_noun structure reduces predictability.

Tool Count5/5

With 8 tools, the set is well-scoped for a web validation server, covering the major validation tasks (HTML, CSS, JSON-LD, broken links, SEO signals, site audit) without unnecessary bloat. Each tool earns its place.

Completeness4/5

The tool surface covers core validation needs for public websites, but lacks some advanced SEO checks (e.g., mobile-friendliness, performance) and does not validate Schema.org vocabulary semantics. Minor gaps exist but do not severely hinder the server's primary purpose.

Resources