Skip to main content
Glama

Generate schema markup

generate_schema
Read-onlyIdempotent

Generate JSON-LD for a schema.org type from the fields you supply. Does NOT fetch the live page. Does NOT validate eligibility; use validate_schema for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
fieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two genuinely useful scope limits beyond that: it performs no page fetch (so fields must be supplied by the caller) and no eligibility validation. It does not describe the output format or failure modes.

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

Conciseness5/5

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

Three short sentences, zero filler, with the capability stated first and the exclusions immediately after. Every sentence earns its place by carving out a boundary or naming an alternative.

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, and the two-parameter schema has 0% description coverage with a nested object, so the description should do more to explain the `kind`/`fields` contract. It covers behavior adequately but leaves the shape of the primary input under-specified.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the burden and largely does not. It implies `fields` is caller-supplied input and that `kind` names a schema.org type, but gives no format, accepted values, or expected structure for the nested `fields` object.

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 (Generate) and resource (JSON-LD for a schema.org type) plus the input source (the fields you supply). It also names the sibling it is not: validate_schema. An agent can distinguish it from validate_schema and generate_meta_tags without opening a schema.

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

Usage Guidelines5/5

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

Explicitly states two things the tool does NOT do (fetch the live page, validate eligibility) and routes the validation case to the named alternative, validate_schema. The positive trigger is front-loaded in the first sentence, so when-to-use and when-not-to-use are both covered.

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.