Skip to main content
Glama

settings_inventory

Set how the shop counts stock. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trackInventoryNoWhat "Track quantity" starts switched to on a new product. Off means new products are created uncounted and always available.
backorderPolicyNodeny: sold out at zero. allow: keeps selling past zero silently, the count goes negative. allow_notify: sells past zero and the product page says "Available on backorder".
lowStockThresholdNoThe count at or under which the storefront says how few are left. 0 to 1000; 0 never says it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

It discloses genuinely non-obvious behavior beyond the annotations: the call mutates nothing itself, returns a preview plus a confirmation link, and only the merchant can complete the change. That is important because readOnlyHint=false could otherwise suggest the call writes directly; the description reconciles this by describing a two-phase confirmation flow rather than a direct mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The behaviorally important content (no direct change, preview + confirmation link) is front-loaded after the one-line purpose. The intervening "Money is integer minor units (cents)" sentence is boilerplate that earns no place in a tool with no monetary parameters.

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?

With no output schema, the description correctly spends words on the return contract: a preview of what would change plus a confirmation link. Combined with the fully-covered input schema, an agent has enough to call this correctly, though it lacks any mention of prerequisites or tenant/permission requirements.

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 description coverage is 100%, so the schema already carries the meaning of trackInventory, backorderPolicy and lowStockThreshold, including the enum semantics. The description adds no per-parameter guidance, and its "Money is integer minor units (cents)" sentence is irrelevant here since no parameter is monetary.

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 verb+resource pair ("Set how the shop counts stock") is concrete and matches the three inventory-tracking settings. It does not, however, differentiate itself from neighbors like inventory_adjust (which changes counts) or settings_store_defaults, so an agent must infer the boundary from the name alone.

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 usefully explains the call workflow (returns a preview, merchant confirms on a page), which implies when the call is appropriate. It never states when NOT to use it or names an alternative such as inventory_adjust for actually changing counts, so routing remains partly inferred.

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