Skip to main content
Glama

StandingBids

Best prices now

get_best_prices
Read-onlyIdempotent

Show the lowest current prices of one product at the stores we track (up to 3, one per store), each with a link to buy it now on the store's site. Use it when the person wants to buy right away, or to know the going price before choosing a maximum for a buy order. Prices include the item and shipping, before sales tax, as observed at the time given. When an official store code applies to this exact product, it is already counted in the price and must be entered at checkout (code). Other official codes of the store are listed in other_codes, not counted: the store decides at checkout. A regional store is marked check_delivery: tell the person to check that it delivers to their address. Warehouse club prices (Costco, Sam's Club, BJ's) are given as this person pays them: pass memberships when they belong to a club. Stores that do not state their shipping cost are listed apart in prices_shipping_not_stated (item price only; the total at checkout may be higher). Nothing is bought or charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "product_id": "<product_id>"
    },
    "name": "get_best_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYesThe product_id returned by find_product.
membershipsNoWarehouse clubs the person is a member of. Their posted prices are member prices: for members they count as posted; for others Costco adds 5% and Sam's Club 10% online, and BJ's sells online to members only. Ask before setting it.

Output Schema

NameRequiredDescriptionDefault
pricesYesCheapest first. Empty when no recent price is known.
productYes
next_stepYes
checked_atYes
disclosureYes
prices_shipping_not_statedYesUp to 2 more stores whose item price is known but whose shipping cost is not stated. Never used to fill a buy order. Say that shipping is not included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations: prices include item plus shipping but exclude sales tax, are point-in-time observations, official store codes are pre-counted and must be entered at checkout while other_codes are not, regional stores carry a check_delivery flag, warehouse-club prices are membership-dependent, and stores not disclosing shipping are split into prices_shipping_not_stated. It closes with "Nothing is bought or charged," which reinforces rather than contradicts the annotations.

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

Conciseness4/5

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

Front-loads the core action and keeps every sentence substantive, but it is a single dense paragraph and spends several lines explaining output fields (other_codes, check_delivery, prices_shipping_not_stated) that an output schema already covers. Slightly long for what an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not define return shapes, and it instead covers the interpretive rules an agent must relay: pre-tax pricing, code handling, delivery checks, and membership effects. Nothing needed to call this correctly or explain results is missing.

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 both product_id and memberships are already documented, including the club enum and the Costco 5% / Sam's Club 10% / BJ's members-only rules. The description adds only modest framing ("given as this person pays them: pass memberships when they belong to a club"), largely restating 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource with scope: "Show the lowest current prices of one product at the stores we track (up to 3, one per store), each with a link to buy it now." It also separates itself from the order-related siblings by framing its role as pre-purchase price discovery "before choosing a maximum for a buy order."

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use triggers ("when the person wants to buy right away, or to know the going price before choosing a maximum for a buy order") and an in-parameter prompt ("Ask before setting it" for memberships). It does not name alternatives such as find_product or place_buy_order or state when not to use it, so it stops short of full routing guidance.

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