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

Draft JSON-LD from a page

schema_generate
Read-onlyIdempotent

Generate draft JSON-LD structured data from an existing page for FAQ, article, and breadcrumb blocks so you can review and publish.

Instructions

Generate draft JSON-LD from an existing page: 'faq' extracts question-style headings and the paragraph(s) that follow them into FAQPage; 'article' builds Article/BlogPosting from title, meta description, dates, author and og:image; 'breadcrumb' from the URL path; 'all' returns every applicable block. Review the text (answers are trimmed to ~600 chars) then publish with wp_set_schema or by editing the site code.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
kindNoall
maxQuestionsNo
organizationNameNoPublisher name for Article; defaults to og:site_name.

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.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, destructive=false, openWorld, so safety is covered. The description adds genuinely useful behavior beyond that: output is a draft requiring human review, and answers are truncated to ~600 characters. It says nothing about fetch failures, missing signals on a page (e.g., no og:image), or how long generation takes.

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-loaded with the core action, then semicolon-separated clause per mode, then the review/publish step. Dense but every clause carries information; no filler. Slightly long single sentence hurts scannability.

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, the description does the right job of describing return shape per kind and disclosing the ~600-char truncation caveat, which is the main surprise an agent could hit. The gap is the unmentioned maxQuestions limit and what happens when a page lacks the expected FAQ/article signals.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so the description carries most of the burden, and it delivers on 'kind' by mapping every enum value to concrete extraction behavior. However, maxQuestions and organizationName get no treatment; only the schema itself hints at them, leaving the question cap and publisher override under-explained.

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?

States a specific verb and resource ("Generate draft JSON-LD from an existing page") and then enumerates the four output modes with what each extracts, so an agent knows exactly which artifact it gets. The word "draft" plus the pointer to wp_set_schema cleanly separates it from schema_validate and from publishing 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?

Gives a clear workflow: generate, review the text, then publish with wp_set_schema or site code. The per-kind descriptions implicitly guide mode selection, but there is no explicit "use faq when X, article when Y, all when Z" decision rule or note on when to prefer a single kind over 'all'.

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