Skip to main content
Glama
google-seo-mcp
by Akxan

Structured data (JSON-LD) audit

structured_data_audit
Read-onlyIdempotent

Extract JSON-LD from pages or a sitemap, validate required and recommended schema properties, flag invalid JSON and bad dates, and check entity consistency and sameAs profiles across pages.

Instructions

Extract JSON-LD from one or more pages, validate required/recommended properties per schema type (Organization, LocalBusiness, TravelAgency, TouristTrip, Product/Offer, Event, Article/BlogPosting, FAQPage, BreadcrumbList, WebSite, Person, Review...), flag invalid JSON and bad dates, and check entity consistency across pages (organization name, telephone, address, sameAs must match everywhere). Also checks what makes an entity resolvable rather than merely declared: whether each sameAs profile still exists, whether the schema's phone appears in the visible text of the pages that claim it, and whether one Organization node carries an @id that publisher/author reference instead of being retyped on every page. Pass explicit urls or a sitemap to sample.

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": "structured_data_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNo
sampleSizeNo
sitemapUrlNoSample pages from this sitemap instead of explicit urls.
checkSameAsNoFetch each sameAs profile to see whether it still exists. A profile that refuses bots is reported as blocked, never as broken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed1 schema field changedv0.10.0
    • addedInput schema / properties / checkSameAs
      Added value: +{
      +  "default": true,
      +  "description": "Fetch each sameAs profile to see whether it still exists. A profile that refuses bots is reported as blocked, never as broken.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv0.3.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds meaningful behavior beyond that: it fetches live sameAs profiles, compares schema phone numbers against visible page text, and checks @id reuse across pages—network-dependent behavior an agent should know about. It also discloses the failure semantics ('a profile that refuses bots is reported as blocked, never as broken'), which is genuinely useful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main action is front-loaded, which is good, but the parenthetical list of twelve schema types and the long second sentence ('Also checks what makes an entity resolvable rather than merely declared...') make it dense and meandering. The information is relevant, yet it could be tightened considerably without losing signal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the reporting burden; it describes what is checked but not how findings are grouped or returned. No mention of rate/timeout limits despite fetching external sameAs profiles and up to 40 URLs, and the interaction between urls, sitemapUrl, and sampleSize remains unresolved for a fairly complex multi-page 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 coverage is 50%: sitemapUrl and checkSameAs are already documented in-schema, and the description restates the sameAs behavior. The two undocumented parameters are only partially helped—'pass explicit urls or a sitemap' clarifies that urls and sitemapUrl are alternative inputs, but sampleSize is never explained (what sampling means, whether it's random or sitemap-order, or its effect on coverage).

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 opens with a concrete verb and resource ('Extract JSON-LD from one or more pages') and enumerates exactly what is validated (required/recommended properties per schema type, invalid JSON, bad dates, cross-page entity consistency). The scope is unmistakably narrower than a general page audit, though no sibling such as page_audit or eeat_audit is named to draw the boundary explicitly.

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

Usage Guidelines3/5

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

'Pass explicit urls or a sitemap to sample' implies the two input modes but never states when to prefer one over the other, nor whether they are mutually exclusive. With zero required parameters it is also unclear what the tool does if neither is supplied, so the agent is left to infer the default behavior.

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