Skip to main content
Glama

Smaregi MCP by usefulapi

List stock levels

smaregi_list_stock
Read-only

List stock levels per store and product (stockAmount, reserved amount). Filter by store or product. Smaregi only lists a product once its quantity has changed at least once. An update-time filter needs both bounds (31 days at most). GET /stock.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
sortNoSort order: comma-separated field names, ':desc' for descending (e.g. updDateTime:desc).
limitNoResults per page, 1-500 (default 50).
fieldsNoComma-separated top-level field names to return (e.g. productId,productName); fewer fields = smaller replies.
store_idNoOnly this store id.
product_idNoOnly this product id.
updated_toNoOnly stock changed at or before this date-time (give updated_from as well).
updated_fromNoOnly stock changed at or after this date-time (give updated_to as well).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description's contribution is the extra context it supplies: results are incomplete until a product's quantity has changed at least once, and the date filter has a bounded 31-day window requiring both endpoints. That is meaningful behavioral disclosure beyond the structured fields, though return shape and pagination behavior are left unaddressed.

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?

Four short sentences, front-loaded with the resource and returned quantities before the filtering caveats. The trailing 'GET /stock.' is essentially noise for an agent that has the tool name, but the rest is dense with no filler.

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 an 8-parameter, all-optional read tool with no output schema and annotations covering safety, the description supplies the non-obvious constraints an agent needs to call it correctly. Pagination and sorting are delegated to the schema, which documents them fully, so nothing critical is missing.

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 every parameter is already documented, including the updated_from/updated_to pairing note. The description adds only the 31-day maximum window and confirms the store/product filter semantics, which is marginal value over the schema; baseline 3 applies.

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?

States a specific verb and resource ('List stock levels per store and product') and even names the returned quantities (stockAmount, reserved amount), so the agent knows exactly what comes back. It does not explicitly contrast itself with the close sibling smaregi_list_stock_changes, leaving the agent to infer the difference between current levels and change history.

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?

Gives concrete usage context: filter by store or product, and the update-time filter requires both bounds with a 31-day maximum. The caveat that Smaregi only lists a product once its quantity has changed sets expectations about result completeness. No explicit when-not or named alternative tool (e.g. smaregi_list_stock_changes) is provided.

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.