Skip to main content
Glama

Generate Product structured data

generate_product_schema
Read-onlyIdempotent

Free: read a product page and return Product JSON-LD (schema.org) built from what the page already shows — name, description, images, brand, SKU/GTIN, price, currency, availability — with ADD_… placeholders for shipping, returns and other missing fields. The user pastes it into the page template.

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_product_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesProduct page link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds value beyond that by disclosing the output contract — JSON-LD built only from what the page already shows, with literal ADD_… placeholders where data is missing rather than invented values. It stops short of stating what happens on blocked, login-gated or non-product pages, which matters for an openWorld fetch tool.

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?

A single dense sentence front-loads the verb and result, with the field list and placeholder note following. It is efficient overall, though the em-dash catalog of fields is long and the 'Free:' prefix reads as a marketing tag rather than actionable instruction.

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 tool with no output schema, the description covers both the input expectation (a product page) and the return shape (field list plus placeholder convention), which is the key gap it needed to close. Missing only edge-case behavior — failure modes and whether placeholders must be manually filled before publishing.

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?

Only one parameter with 100% schema description coverage, so the schema carries the load and the baseline is 4. The description reinforces that the url must be a product page and that content is derived from that page rather than fetched elsewhere, but adds no format constraints (e.g., absolute URL, same-domain rules).

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 specific verb and resource: 'read a product page and return Product JSON-LD (schema.org)', plus an enumeration of what gets populated (name, description, images, brand, SKU/GTIN, price, currency, availability). That is far more specific than the name alone. It does not name or differentiate itself from plausible siblings such as check_product_page or scan_store_catalog, so an agent must infer the boundary.

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 implied rather than stated: 'Free:' and 'The user pastes it into the page template' signal a no-cost generation step whose output is manually deployed, which hints that paid siblings like upgrade_product_check handle deeper review. There is no explicit when-to-use/when-not-to-use clause and no sibling is named as an alternative.

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.

Resources