Skip to main content
Glama

get_restock_suggestions

Read-only

Identify materials projected to run out within 30 days and generate purchase links, sorted by urgency so you can restock critical inventory first.

Instructions

Find materials running low and generate purchase links.

Examines all material types in inventory and returns restock suggestions for any projected to run out within 30 days, sorted by urgency (critical first).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_restock_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behaviour beyond that — it scans all material types, uses a 30-day projection horizon, and sorts output by urgency — but it does not explain what a 'purchase link' actually is (an external URL? a vendor reference?) or how projections are computed, which matters given openWorldHint=false.

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?

The core action ('Find materials running low and generate purchase links') is front-loaded in the first sentence and the second sentence supplies scope and ordering. The second sentence partly restates the first ('returns restock suggestions' after 'find materials running low'), so there is a little redundancy, but nothing is wasted overall.

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 parameters and no output schema, the description carries the burden of explaining the result, and it does reasonably well: it states the trigger condition (running out within 30 days) and the sort order (critical first). What is missing is the shape of each suggestion — whether it includes quantities, supplier names, or lead times — which would help an agent decide whether to act on the output directly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there are no parameter semantics to convey and the baseline of 4 applies. The description correctly implies the call is parameterless by framing the operation as scanning 'all material types in inventory' with a fixed 30-day horizon rather than configurable filters.

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 verb and resource ('Find materials running low', 'returns restock suggestions') and defines the scope: all inventory materials projected to run out within 30 days. It is clear on its own, but it never names the neighbouring tools it overlaps with (forecast_material_consumption, check_material_sufficiency, get_material_consumption_history), so an agent cannot distinguish them from this text 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?

Usage is implied by the 30-day projection window and the 'critical first' ordering, which suggests the intent is proactive restock planning. However, there is no explicit when-to-use versus alternatives, no exclusion for materials already covered by other consumption/forecast tools, and no mention of prerequisites such as inventory being configured.

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

Deploy Server

Other Tools