Skip to main content
Glama

inventory: GET /api/inventory/items/:id

get_inventory_items_by_id_b50de9a5f496dd83c329aa8f
Read-onlyIdempotent

GET /api/inventory/items/:id. GET /api/inventory/items/:id. Operation ID: b50de9a5f496dd83c329aa8f; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

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, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds nothing beyond that — no note on what is returned, whether missing ids error or return empty, or any auth/pagination context.

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?

It is short, but the same route string is duplicated verbatim in the first two sentences, spending the only content budget on redundancy. The genuinely useful pointer (describe_operation) is buried at the end behind the repetition.

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 should describe what a single inventory item lookup returns, but it does not. With two parameters at 0% schema coverage and no return-value context, an agent still cannot confidently predict the response shape or error behavior.

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 description coverage is 0%, so the description must compensate for two parameters (a free-form query object and a required params.id), and it does not. The ':id' path token weakly hints that params.id identifies the item, but nothing explains the format, allowed values, or purpose of the query object.

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 HTTP route 'GET /api/inventory/items/:id' verbatim twice, which is essentially the tool title repeated. It implies retrieval of an inventory item by id but adds no verb-level explanation of what the operation actually returns or how it differs from siblings like get_inventory_items or get_inventory_categories_by_id.

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?

No when-to-use guidance, no exclusions, and no comparison to the sibling list tool get_inventory_items_92fa557cde18085a8df40ba7 is given. The only actionable pointer is that describe_operation exposes native request schemas, which is about schema discovery, not tool selection.

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