Skip to main content
Glama

checkProductInventory

Real-time stock levels, exact warehouse quantities available, and backorder status for e-commerce stores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_url_or_skuYesTarget product URL (Shopify, WooCommerce, Amazon) or SKU

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It does contribute two behavioral facts not present in the schema: the data is 'real-time' and quantities are 'exact' (i.e. per-warehouse), but it is silent on supported-store limitations, failure behavior for unsupported URLs, and rate or auth constraints.

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 tight sentence with the highest-value attribute ('real-time') front-loaded and no filler. It is a noun phrase rather than an action statement, which slightly weakens the lead, but nothing is wasted.

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?

For a one-parameter read-only lookup with no output schema, the description covers the main return fields but omits what the response shape looks like, which retailers are supported, and what happens when a product is unavailable. Adequate but with clear gaps.

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% and the single parameter already documents that it accepts a product URL (Shopify, WooCommerce, Amazon) or SKU. The description adds no format, normalization, or example detail beyond that, so this is the baseline case where the schema does the work.

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?

The description names the specific resource and the exact data returned: real-time stock levels, warehouse quantities, and backorder status. The scoping phrase 'for e-commerce stores' separates it from getEcommercePricing and getProductReviewsSentiment, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement of prerequisites, and no routing to or away from siblings such as getEcommercePricing. The agent must infer the use case from the field list alone.

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