Skip to main content
Glama

Inventory Planner MCP by usefulapi

Get variant

inventoryplanner_get_variant
Read-only

One variant by its Inventory Planner id, with the metrics named in fields (default: id,sku,lead_time,review_period,replenishment,oos,under_value). GET /api/v1/variants/{id}.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
variant_idYesInventory Planner id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the default field set and the underlying HTTP endpoint, which is useful context but does not go beyond that.

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

Conciseness5/5

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

A single front-loaded sentence carries purpose, the `fields` semantics, and defaults, followed by the endpoint. No waste.

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?

No output schema exists, but the default field list gives the agent a good sense of what is returned, and annotations cover the safety profile. Minor gaps only, such as whether non-default fields can be requested beyond the named defaults.

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?

Schema coverage is 50%: variant_id is documented in the schema, but `fields` is not. The description compensates by explaining `fields` holds 'the metrics named' and enumerating the default list, adding real meaning beyond the schema's bare pattern/maxLength.

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?

States a specific verb (get) and resource (variant) with scope: 'One variant by its Inventory Planner id'. The singular framing distinguishes it implicitly from list_variants, though it never names the sibling explicitly.

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 'One variant by its Inventory Planner id' — fetch a single record when you have its id, rather than list_variants. However, there is no explicit when-to-use/when-not or named alternative.

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.