Skip to main content
Glama

generate_product_schema

Generate a Product JSON-LD schema with pricing, brand, availability, and other product details for structured data markup.

Instructions

Generate a Product JSON-LD schema with pricing, brand, availability, and other product details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoStock Keeping Unit identifier
urlNoProduct page URL
nameYesProduct name
brandNoBrand name
imageNoProduct image URL
priceNoPrice of the product
descriptionNoProduct description
availabilityNoProduct availability status
priceCurrencyNoCurrency code (e.g., USD, EUR, GBP)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the output type (JSON-LD schema) but lacks details on side effects, required permissions, output format, or whether it validates or generates a file.

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?

The description is a single concise sentence that conveys the purpose efficiently. However, it could include a bit more structure, such as listing key parameters, without becoming verbose.

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

Completeness2/5

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

Despite having 9 parameters and no output schema, the description provides minimal context. It does not explain the tool's return value, usage scope, or how it integrates with other schema tools, making it insufficiently complete given the complexity.

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?

With 100% schema description coverage, the baseline is 3. The description mentions pricing, brand, and availability, but these are already evident from parameter names and schema descriptions; no additional meaning is added.

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?

The description clearly states the tool generates a Product JSON-LD schema, specifying details like pricing, brand, availability, which distinguishes it from sibling tools like generate_article_schema or generate_faq_schema.

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?

The description implies use for product schemas but does not explicitly state when to prefer this over the generic generate_schema tool or provide exclusions for other product-related schemas.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sharozdawa/schema-gen'

If you have feedback or need assistance with the MCP directory API, please join our Discord server