Skip to main content
Glama
NyokolodiK

ecommerce-mcp

by NyokolodiK

get_product

Fetch detailed product information by providing its numeric product ID. Retrieve name, price, description, and more from the catalog.

Instructions

Fetch a single product by its numeric identifier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesNumeric product identifier.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesStable numeric product identifier.
skuYesMerchant stock-keeping unit.
nameYesDisplay name.
priceYesUnit price.
stockYesQuantity currently available for sale.
currencyYesISO 4217 currency code for `price`.
image_urlNoPrimary product image URL.
is_activeNoWhether the product is listed for sale.
categoriesNoCategory tags.
descriptionNoLong-form description.
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. The verb 'Fetch' clearly indicates a read-only operation, but the description does not disclose error behavior (e.g., product-not-found) or any constraints beyond the parameter, leaving edge cases unspecified.

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 a single, focused sentence that immediately states the operation and the key parameter. There are no wasted words or redundant details, making it highly concise and front-loaded.

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 simple getter with one well-documented parameter and an output schema, the description sufficiently conveys the tool's purpose. However, it lacks explicit usage guidance and error-handling details, which slightly reduces completeness for a fully self-contained definition.

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?

The input schema already documents product_id as 'Numeric product identifier' with a minimum of 1. Since schema description coverage is 100%, the description's reference to 'numeric identifier' adds no additional semantic value, meriting the baseline score of 3.

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 uses the specific verb 'Fetch' and identifies the resource as a single product, clearly distinguishing it from sibling tools like list_products. It also mentions the key identifier, making the purpose unambiguous.

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?

No explicit guidance is given about when to use this tool versus alternatives such as list_products. The word 'single' implies a contrast with list tools, but no when-not-to-use or alternative tool is named.

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/NyokolodiK/ecommerce-mcp'

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