Skip to main content
Glama

validate_schema

Read-onlyIdempotent

Two-layer schema audit: schema.org @type validity (real types, 'did you mean' for typos) and Google rich-result eligibility (Article, FAQPage, Product, HowTo, Recipe, BreadcrumbList, Event, VideoObject, Organization, LocalBusiness, WebSite, SoftwareApplication). Reads JSON-LD from a live URL or from pasted markup. Does not execute JavaScript.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic page URL
markupNoRaw JSON-LD or HTML containing JSON-LD, if you don't want us to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds a genuinely useful constraint: 'Does not execute JavaScript', which tells the agent JS-rendered markup will not be seen. It also discloses the dual-layer check and supported type list, though it does not say what happens with JS-heavy sites or when both url and markup are supplied.

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?

Front-loads 'Two-layer schema audit' and the two layers, then the input modes, then the JS caveat — good ordering. The parenthetical type list is long but earns its place by defining rich-result scope precisely. Slightly dense but no filler sentences.

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 and only two optional params, the description covers what is checked, what input forms are accepted, and the JavaScript limit. Remaining gaps are minor: whether both params can be sent together, what happens if neither is given, and the rough shape of the result.

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% and both parameters are already documented ('Public page URL', 'Raw JSON-LD or HTML ... if you don't want us to fetch'). The description's phrase 'from a live URL or from pasted markup' largely restates that, adding no new syntax or precedence rule, so baseline 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?

Names a specific verb+resource ('schema audit') and immediately enumerates the two layers it checks, including the exact rich-result types covered. An agent can distinguish this from audit_page_seo or check_title_meta without opening any schema.

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 clear context for use — validating schema.org @type and rich-result eligibility from either a live URL or pasted markup — which implicitly tells the agent how to pick the input mode. It stops short of explicitly naming a sibling alternative or an exclusion (e.g., when to prefer audit_page_seo), so it is clear but not fully routing.

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.