Skip to main content
Glama

Low stock alerts

low_stock_alerts
Read-onlyIdempotent

Identifies products below their reorder threshold and suggests reorder quantities to refill to target stock, sorted by urgency.

Instructions

Products whose stock is strictly below their reorder threshold, most urgent first, each with a suggested reorder quantity (refill to target stock, rounded up to the supplier case pack).

Input Schema

NameRequiredDescriptionDefault
categoryNoOnly this product category.

Output Schema

NameRequiredDescriptionDefault
countYes
alertsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description goes beyond that by disclosing the boundary condition ('strictly below', so at-threshold items are excluded), the sort order, and the exact derivation of the suggested reorder quantity (refill to target, rounded up to the supplier case pack) — real behavioral value the agent could not infer from annotations.

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?

One sentence with no wasted words, and the most decision-relevant facts — the filter condition and the ordering — are front-loaded. Parenthetical glosses for the derived field are compact and unambiguous.

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?

An output schema exists and annotations are rich, so the description need not explain return values or safety. It covers the qualifying condition, ordering, and derived-quantity logic. Minor gaps remain: 'most urgent' is not defined (e.g. largest absolute vs. relative shortfall) and there is no mention of result limits or the empty-result case.

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% and the single optional parameter is an enumerated category, so the schema fully documents the input. The description does not mention the category filter or clarify whether it is optional, adding nothing beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 a specific resource (products below their reorder threshold) and adds scope-defining detail — 'strictly below' and 'most urgent first'. It reads as a return-value spec rather than a verb-led statement ('List products...'), but the semantics are unambiguous. None of the sibling tools operate on inventory at all, so no sibling differentiation is required.

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?

There is no explicit statement of when to call this versus alternatives, but the definition of the qualifying condition ('stock strictly below their reorder threshold') implicitly tells an agent the tool answers a restocking question. With no inventory-related siblings, there is little ambiguity to resolve, so the omission is minor rather than damaging.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.