Skip to main content
Glama

List inventory

list_inventory
Read-onlyIdempotent

Inventory items, optionally filtered by a search term.

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": "list_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch term (name, SKU, category).
limitNoHow many to return, newest first where there's an order (default 100).
fieldsNoWhich fields to return. Leave out for the usual ones: sku, name, quantity, unit, price, category, low_stock_threshold.
project_idNoWorkspace to work in (from list_projects). Leave out for the default one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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, so the safety profile is fully covered. The description adds no behavioral context of its own—nothing about default result set size, ordering, or pagination behavior beyond what the schema already says.

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?

It is a single short sentence with no wasted words and the optional-filter qualifier is front-loaded. The brevity is efficient, though it edges toward under-specification rather than tight communication.

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?

For a simple four-optional-parameter list tool with rich annotations and no output schema, the description is minimally adequate. It still leaves unclear what a result set looks like, how it relates to get_inventory_item and get_inventory_overview, and what the default field projection is beyond the schema's fields note.

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 each parameter (q, limit, fields, project_id) fully documented in the schema, so the baseline of 3 applies. The description's mention of an optional search term adds nothing beyond the schema's own explanation of q.

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

Purpose3/5

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

The description identifies the resource (inventory items) and the optional search filter, so the agent can tell it is a listing tool for inventory. However, it is a noun phrase with no verb, largely restates the title 'List inventory', and does not distinguish it from siblings like get_inventory_item (singular lookup) or get_inventory_overview (aggregate view).

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?

There is no explicit when-to-use guidance, no statement of when to prefer get_inventory_item or get_inventory_overview, and no mention of prerequisites. The optional filter is the only usage hint, leaving the agent to infer the tool's role from its name alone.

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.