Skip to main content
Glama

create_product

Add digital products to your store with USDT pricing that converts to crypto at checkout, and attach digital content for automatic delivery after payment.

Instructions

Add a digital product to your store. Products are priced in USDT and auto-converted to crypto at checkout. Attach digitalContent for automatic delivery after payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProduct name (1-200 characters)
priceYesPrice in USDT (0.01 - 1,000,000)
stockNoAvailable quantity. Omit for unlimited stock.
imagesNoArray of HTTPS image URLs (max 10)
metadataNoCustom key-value metadata
variantsNoVariant options (e.g., size, tier)
contentTypeNoProduct content type. GENERAL (default) for standard digital products, SKILL for AI agent skill files (.md with YAML frontmatter). When SKILL, provide skillContent.
descriptionNoProduct description (max 5000 characters)
skillContentNoRaw SKILL.md file content (markdown with YAML frontmatter). Only used when contentType is SKILL. Backend auto-parses frontmatter for storefront display. Max 100,000 chars.
digitalContentNoDigital delivery content — auto-delivered after payment
Behavior3/5

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

With no annotations provided, the description carries the full burden. It adds valuable behavioral context: products are priced in USDT and auto-converted at checkout, and digitalContent triggers automatic delivery. However, it does not disclose side effects, requirements (e.g., conditional fields), or return behavior, leaving gaps.

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?

The description is two sentences, front-loads the primary purpose, and contains no fluff. It is concise and every sentence adds useful information about what the tool does.

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?

The description gives a solid overview but does not cover important nuances like content types (GENERAL vs SKILL) or conditional requirements. With 10 params and nested objects, more guidance would be helpful, but the schema covers parameter details, and no output schema means return values are not explained.

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 coverage is 100%, so the baseline is 3. The description mentions digitalContent for automatic delivery, but the schema already states 'Digital delivery content — auto-delivered after payment'. It adds no new parameter meaning beyond what the schema provides.

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 action ('Add a digital product') and the resource ('to your store'). It distinguishes create_product from siblings like update_product and delete_product by specifying 'Add'. It also clarifies the product type as digital.

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?

The description provides clear context: use this to add a digital product to a store. It mentions pricing and delivery behavior, giving a sense of when this tool is appropriate. However, it does not explicitly exclude alternatives or mention when to use update_product, so it misses the 'when-not' element.

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/jams24/inventpay-mcp'

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