Skip to main content
Glama
SEOBlogBot

SEOBlogBot

Official
by Citability

Generate Schema Recommendation

generate-schema-recommendation

Analyze a page’s existing JSON-LD structured data and recommend schema improvements to help it qualify for rich results.

Instructions

Analyze a page and recommend JSON-LD structured data schemas. Checks existing schemas and suggests improvements for rich results.

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": "generate-schema-recommendation"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to analyze
pageTypeNoPage type hint (if not provided, will attempt to auto-detect)

Output Schema

NameRequiredDescriptionDefault
urlYes
detectedTypeYes
existingSchemasYes
recommendedSchemasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add real behavior: the tool inspects existing schemas as well as generating recommendations. However, it says nothing about whether it fetches the live page or runs a network request, whether it is strictly read-only, or any rate/access constraints — the mutation-safety profile is only inferable from the wording.

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?

Two sentences, front-loaded with the analyze-and-recommend action, then the existing-schema check. Slight overlap between 'recommend' and 'suggests improvements,' but no filler.

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?

An output schema exists, so return values need not be explained, and both parameters are fully covered by the schema. What remains thin is operational context — whether the URL is fetched live and any access/precondition requirements — which matters for a page-analysis tool with no annotations.

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 both `url` and the `pageType` enum (including the auto-detect fallback) are already documented in structured data. The description adds no format, constraint, or enum semantics beyond that, so the baseline 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?

States a concrete verb phrase and resource: analyze a page, recommend JSON-LD structured data schemas, check existing schemas. That is clearly distinct from the sibling audit/validate tools (lighthouse, sitemap, meta tags), but the description never names a sibling or explicitly contrasts itself, so it stops short of a 5.

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?

Usage is only implied by the purpose: an agent can infer 'use this when you want structured-data recommendations,' and 'checks existing schemas and suggests improvements' hints at a dual audit/recommend mode. There is no explicit when-to-use, when-not-to-use, or routing versus the seven sibling audit tools, and no prerequisites (e.g., page must be publicly reachable) are stated.

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