Skip to main content
Glama

planning_inventory

Read-onlyIdempotent

Inventory tracker

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "planning_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesStock lines as [{sku, name, qty, reorderAt}].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / items / items / properties / name / description
      Previous value: -"A name or label, for example: Jane Smith."New value: +"Item name. The field is called name (not title or description)."
    • changedInput schema / properties / items / items / properties / qty / description
      Previous value: -"Quantity as a whole number, for example: 2."New value: +"Units on hand now. The field is called qty (not quantity or stock)."
    • changedInput schema / properties / items / items / properties / reorderAt / description
      Previous value: -"Reorder at as a plain number, for example 10."New value: +"Optional reorder point: the item is listed in lowStock when qty is at or below this number."
    • changedInput schema / properties / items / items / properties / sku / description
      Previous value: -"Sku as text."New value: +"Optional stock code, for example TS-BLK-M."
  2. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / items / description
      Added value: +"Stock lines as [{sku, name, qty, reorderAt}]."
    • removedInput schema / properties / items / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / items / items / properties / name / description
      Added value: +"A name or label, for example: Jane Smith."
    • addedInput schema / properties / items / items / properties / qty / description
      Added value: +"Quantity as a whole number, for example: 2."
    • addedInput schema / properties / items / items / properties / reorderAt / description
      Added value: +"Reorder at as a plain number, for example 10."
    • addedInput schema / properties / items / items / properties / sku / description
      Added value: +"Sku as text."
  3. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, which conveys the safety profile. The description adds nothing beyond that — it never clarifies whether the supplied items are merely evaluated or persisted, what the response contains, or how lowStock is derived.

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

Conciseness2/5

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

Two words are technically concise but the problem is under-specification rather than verbosity. There is no structure to front-load because there is essentially no content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is the only place an agent could learn what comes back — yet it says nothing about return shape, lowStock output despite the schema hinting at it, or whether results are stored. For a tool whose only surface is a single nested array parameter, this leaves critical gaps.

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 schema itself carefully documents items, name, qty, sku, and reorderAt, including the lowStock behavior. With the schema doing all the work, the baseline of 3 applies, since the description contributes no additional parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Inventory tracker" is a noun phrase that essentially restates the tool name (planning_inventory) and title (Planning Inventory). It gives no verb and no scope, so an agent cannot tell whether this creates a list, reads current stock, or computes reorder alerts, nor how it differs from siblings like planning_grocery_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of any alternative. Nothing in the description helps an agent choose this over planning_grocery_list or planning_packing_list.

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