Skip to main content
Glama

list_stale_prices

Read-only

List inventory items whose recorded prices are older than the configured freshness rule, so you can identify stale pricing and refresh it.

Instructions

Items whose price is older than the freshness rule. Parameters: cursor, limit, direction

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_stale_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
directionNoasc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered, but the description adds nothing beyond that. It doesn't explain what the freshness rule is, how staleness is computed, whether results are paginated/ordered, or what the agent gets back, which matters for a listing tool with no output schema.

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

Conciseness3/5

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

It is short, but the second sentence merely echoes schema property names and earns no place. The one substantive clause (price older than the freshness rule) is front-loaded but under-explained.

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?

For a read-only listing tool with three parameters, a default of 50 and a max of 200, the definition omits pagination mechanics, ordering semantics, and the core definition of the freshness rule. With no output schema and no annotations covering behavior, these gaps are material rather than cosmetic.

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 carry the burden, yet it only repeats the three parameter names already visible in the schema. It adds no meaning for cursor (opaque pagination token vs. item identifier), limit defaults, or which field direction orders by, so the ambiguous pieces remain ambiguous.

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 fragment identifies the resource (items with a price older than the freshness rule), so the general intent is inferable, but there is no verb and 'freshness rule' is never defined or linked to anything. It also does nothing to distinguish it from the sibling get_prices, leaving the agent to guess why two price-listing tools exist.

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 statement, no exclusion, and no named alternative such as get_prices. Usage is only implied by the notion of 'stale' prices, leaving the agent to decide on its own when this tool is preferable to a general price listing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.