Skip to main content
Glama

Describe SKU

describe_sku
Read-onlyIdempotent

Parameter schema, schema confidence, and exampleCall for one SKU. total_cost is the all-in price only. Default USD. If the record is untested and totalSats is over 500, tell the user before buying. When Lightning payments are temporarily paused, the result includes paymentsPaused and retryAfter.

Input Schema

NameRequiredDescriptionDefault
skuYesCatalog id or slug from search_catalog.
currencyNoISO 4217 code for the fiat estimate. Default USD. Use the user's local currency when you know it. Supported: USD, EUR, GBP, CAD, AUD, JPY, CHF, BRL, MXN, INR.
quantityNoHow many calls to price. Default 1, maximum 3.
usd_per_millionNoYour model input price in dollars per million tokens. Pass it once. This session reuses it. It does not change the Amazap price.

Output Schema

NameRequiredDescriptionDefault
codeNoapproval_required, limit_exceeded, or insufficient_balance.
paidNo
whichNoper_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats.
statusNo
messageNo
quoteIdNo
resultsNoSearch rows when this is a search result.
totalCostNo
totalSatsNo
approvalUrlNoPage where the person approves this exact price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / usd_per_million
      Added value: +{
      +  "description": "Your model input price in dollars per million tokens. Pass it once. This session reuses it. It does not change the Amazap price.",
      +  "type": "number"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: total_cost is the all-in price, currency defaults to USD, untested records over 500 sats warrant a user warning, and paused Lightning payments surface paymentsPaused and retryAfter in the result.

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?

The description is short and front-loaded with the output-fields sentence, but it reads as disconnected fragments ('total_cost is the all-in price only. Default USD.') and mixes pricing semantics with payment-state handling. Each sentence carries information, but the structure is choppy and the key purpose is buried.

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?

An output schema exists, so return-value documentation is not required, and annotations cover safety. The description still supplies the non-obvious bits an agent needs: pricing semantics, the untested-over-500 warning, and the paused-payment result fields; only the sibling routing remains thin.

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 four parameters, including currency enum, quantity caps, and usd_per_million. The description only reiterates 'Default USD,' adding no syntax or semantics beyond the schema, so the baseline 3 applies.

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?

It states that it retrieves 'Parameter schema, schema confidence, and exampleCall for one SKU,' which identifies the resource but describes output fields rather than the action's purpose (a detail/pricing lookup for a catalog item). A reader can infer this is the read-only detail tool for a single SKU, but the verb and overall intent are vague and it does not explicitly differentiate itself from siblings like quote or search_catalog.

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?

There is a conditional rule tied to the buying flow ('If the record is untested and totalSats is over 500, tell the user before buying'), which gives some usage context. However, there is no explicit statement of when to use this tool versus quote, search_catalog, or report_sku, so the routing guidance is only implied.

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