Skip to main content
Glama

create_product

Create a product in the authenticated merchant's store. Requires Bearer token. WRITE.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProduct name.
priceYesPrice in DZD.
stockNoStock quantity (optional).
statusNoactive | draft | archived (default draft).
is_demoNoMark as an ephemeral demo product (server auto-deletes it after auto_delete_at).
descriptionNoDescription.
translationsNoOptional {ar|fr|en:{name,description}}.
compare_priceNoStrikethrough/old price (optional).
auto_delete_atNoISO timestamp after which a demo product is auto-deleted server-side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already set readOnlyHint=false, so 'WRITE' adds no new info. Does not disclose idempotency, rate limits, or side effects beyond creation. Missing details on return value or error cases.

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?

Extremely concise with only two sentences. Every sentence serves a purpose; no wasted words.

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 complex nested objects and 9 parameters, description provides no context on output, error handling, or sequential behavior. Lacks completeness for a creation tool.

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% with detailed parameter descriptions. Description does not add extra meaning beyond schema; baseline score of 3 is appropriate.

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?

Description clearly states 'Create a product in the authenticated merchant's store.' Uses specific verb and resource, and distinguishes from sibling tools like delete_product.

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?

Mentions authentication requirement ('Requires Bearer token') but no explicit guidance on when to use this tool versus alternatives like get_store or publish.

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