Skip to main content
Glama

Query inventory alerts

query_inventory_alerts
Read-only

Returns low stock, excess stock, long-term storage, or recommended removal inventory alerts.

Input Schema

NameRequiredDescriptionDefault
skusNoComma-separated SKU filters, up to 100 values. Omit to include all SKUs.
asinsNoComma-separated ASIN filters, up to 100 values. Omit to include all ASINs.
limitNoMaximum number of items to return. Defaults to 100 and cannot exceed 100.
offsetNoZero-based pagination offset.
storeIdYesStore ID from the Stores API, formatted as sellerId:marketplaceId.
alertTypeYesInventory alert type.
restockTypeNoOptional AFN restock type filter.
salesChannelNoOptional inventory fulfillment channel filter. Allowed values are AFN and MFN. Omit to include all channels.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond the enum values already present in the schema — no note on the 100-result cap, pagination behavior, or how alert severity/ordering is determined.

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 front-loaded sentence with zero waste, but it is arguably under-specified rather than genuinely concise — the space saved is not used for any discriminating context.

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?

Eight parameters, an output schema, and full annotation and schema coverage mean much of the burden is carried elsewhere. Still, for a tool this wide (filters by SKU, ASIN, channel, restock type, pagination), the description omits any framing of scope or result semantics, leaving the agent to rely wholly on structured fields.

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% with clear per-parameter text including the sellerId:marketplaceId format and the 100-value/100-result limits, so the schema does the work. The description only echoes the alertType values and contributes no additional meaning. 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 ('Returns') and resource ('inventory alerts') and enumerates the four alert categories, which lets an agent map directly to alertType. It does not explicitly distinguish itself from close siblings like query_inventory or inventory_risk_review, so the differentiation is only implicit in the word 'alerts'.

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?

No guidance on when to use this instead of query_inventory or inventory_risk_review, and no mention that storeId and alertType are required scoping inputs. The only usage signal is the type enumeration, which the agent must infer as a routing rule.

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