Skip to main content
Glama

inventory: GET /api/inventory/stats

get_inventory_stats_0a9d09eae5acbcd0593dea61
Read-onlyIdempotent

GET /api/inventory/stats. GET /api/inventory/stats. Operation ID: 0a9d09eae5acbcd0593dea61; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, so the safety profile is covered elsewhere. The description adds nothing beyond that — no mention of what the stats aggregate, any scoping/filtering behavior, or response shape.

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?

Very short, but the first sentence is duplicated verbatim and the remaining sentence is boilerplate about operation IDs. Brevity here reflects under-specification rather than efficient front-loading.

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 and no annotations covering return values, so the description needed to explain what inventory statistics are returned. For a nested-object, 2-parameter stats endpoint, the definition leaves an agent unable to predict the result or how to parameterize it without a separate describe_operation call.

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

Parameters2/5

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

Schema coverage is 0% and the schema is a generic query/params wrapper with no documented properties. The description does point to describe_operation as the source of the native request schema, which is the one useful piece of parameter context, but it does not explain any parameter's meaning or format itself.

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?

The description only restates the endpoint path 'GET /api/inventory/stats' twice plus an opaque operation ID. It names no business object fields or aggregation scope (what 'stats' means for inventory), so an agent cannot distinguish it from siblings like get_inventory_items or get_inventory_transactions by content, only by the raw URL fragment.

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?

The only guidance is 'describe_operation provides native request schemas', which is a schema-discovery pointer, not a when-to-use rule. There is no statement of which questions this stats endpoint answers versus the many sibling inventory endpoints.

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