Skip to main content
Glama

Get price and stock

get_pricing

Get current price and stock for one SKU, or a price list for a brand (optionally limited to one category). Pass either sku, or brand with an optional category.

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

Input Schema

NameRequiredDescriptionDefault
skuNoOne SKU
brandNoBrand name, for a price list
categoryNoLimit the brand price list to one category

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'get current price and stock' implies a read-only lookup, which is useful context. However, it never states what happens if both sku and brand are supplied, or if neither is supplied (required parameters = 0), nor whether results are cached or live. The core behavior is conveyed, but the edge-case and safety profile are not.

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?

Two sentences, zero filler, and the primary capability is front-loaded before the calling convention. Nothing could be removed without losing information.

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?

With no output schema and no annotations, the description does explain the two distinct return shapes (single-SKU price/stock vs. a brand price list). The remaining gap is the empty-call case, which matters because no parameters are marked required in a tool whose description says 'pass either'.

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 coverage is 100%, so the schema already documents all three parameters and the category enum. The description adds one genuinely new fact beyond the schema: that sku and brand are mutually exclusive alternatives and that category only qualifies the brand list. That is meaningful but not extensive, so a baseline-plus score is warranted.

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?

The description names a specific verb ('get') and two concrete resources: 'current price and stock' for a SKU and a 'price list' for a brand. It clearly separates the two operating modes, though it never contrasts itself with siblings like search_parts or get_vehicle_specs, so an agent must infer that pricing lives only here.

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?

'Pass either sku, or brand with an optional category' gives explicit mode-selection guidance for the two request shapes. It does not say when to prefer this tool over alternatives (e.g. search_parts) or what to do when neither mode is intended, leaving usage implied rather than fully specified.

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