Skip to main content
Glama

Check structured data

check_structured_data
Read-onlyIdempotent

Audit a page's JSON-LD and microdata to list every schema type, report parse errors, validate entity properties, and flag missing recommended types like Organization, Article, or FAQPage.

Instructions

Extract JSON-LD / schema.org blocks and microdata types. List every @type and report parse errors. Validate the properties of each entity. Flag recommended types that fit the page: Organization on the home page, Article on articles, BreadcrumbList and FAQPage.

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": {
      "url": "<url>"
    },
    "name": "check_structured_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL of the page to audit, for example https://example.com/blog/post. If the URL has no scheme, the server uses https:// (http:// for localhost).

Output Schema

NameRequiredDescriptionDefault
urlYes
jsonLdYes
articleYes
findingsYesFailed or partial checks, highest impact first.
typesFoundYesEvery @type found, also nested types.
validationNoProperty-level problems in the JSON-LD entities (capped).
microdataTypesYes
validationTotalNo
missingRecommendedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds useful behavioral detail about scope of output (every @type, parse errors, per-entity property validation, heuristic type recommendations). It does not disclose cost, depth of crawl, or limits, so it adds moderate value beyond the annotations without being rich.

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?

Four short sentences, front-loaded with the extraction action and each carrying distinct information. The final sentence is a compressed enumeration that reads slightly like a dump, but nothing is padding.

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?

For a single-parameter, read-only audit tool with an output schema and full annotation coverage, the description covers what is inspected and what kinds of findings are produced. It omits any statement of when to reach for this tool versus the other check_* siblings, which is the one real gap.

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?

There is a single parameter with 100% schema description coverage, including scheme-defaulting behavior for bare URLs and localhost. The description adds nothing about the url argument. With the schema doing the heavy lifting, the baseline of 3 applies.

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?

The description names concrete verbs and resources: extract JSON-LD/schema.org blocks and microdata, list @types, report parse errors, validate properties. That is enough for an agent to tell it apart from check_meta_og or check_llms_txt. It stops short of explicitly contrasting itself with any sibling, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use, when-not-to-use, or alternative-tool guidance anywhere in the text. The sentence about flagging recommended types describes output content, not invocation conditions. An agent must infer from the sibling list that this is the structured-data audit rather than the meta-tag or page audit.

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