Skip to main content
Glama

Compare new, used, and resale

compare_prices
Read-onlyIdempotent

New, used, and resale prices for one named item. estimate_low and estimate_high carry a range already priced, or -1 when the title still needs a price.

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": {
      "title": "<title>"
    },
    "name": "compare_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
gradeNoCard grade such as PSA 9.
titleYesItem name to compare.
countryNoISO 3166-1 alpha-2 code of the country the user is in when it is outside the US, such as SE, DE, or GB. Listings come from that country's marketplaces and prices are in its currency. Empty for the US or when unknown.
categoryNoCategory hint.
currencyNoISO 4217 code of the currency the user prices in when it is not USD, such as EUR, SEK, or GBP. Empty to follow country, or USD.
conditionNoCondition the user stated.
estimate_lowNoLow end from price_item. -1 when there is none.
estimate_highNoHigh end from price_item. -1 when there is none.

Output Schema

NameRequiredDescriptionDefault
bestYes
nameYes
viewYes
compsNo
linksYes
pricedYes
outcomeYes
currencyYes
headlineYes
new_fromYes
from_pastNo
new_labelYes
retailersNo
used_fromYes
confidenceYes
resale_lowYes
used_labelYes
resale_highYes
estimate_lowYes
resale_labelYes
estimate_highYes
confidence_labelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "default": "",
      +  "description": "ISO 3166-1 alpha-2 code of the country the user is in when it is outside the US, such as SE, DE, or GB. Listings come from that country's marketplaces and prices are in its currency. Empty for the US or when unknown.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • addedInput schema / properties / currency
      Added value: +{
      +  "default": "",
      +  "description": "ISO 4217 code of the currency the user prices in when it is not USD, such as EUR, SEK, or GBP. Empty to follow country, or USD.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / estimate_high / description
      Previous value: -"High end from price_item. -1 if you do not have one."New value: +"High end from price_item. -1 when there is none."
    • changedInput schema / properties / estimate_low / description
      Previous value: -"Low end from price_item. -1 if you do not have one."New value: +"Low end from price_item. -1 when there is none."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / from_past
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / retailers
      Added value: +{
      +  "type": "array"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / comps
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / confidence_label
      Added value: +{
      +  "type": "string"
      +}
  5. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds only the -1 sentinel meaning (title still needs a price), and says nothing about source coverage, latency, or result breadth beyond what the annotations imply.

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?

Two sentences, front-loaded with the resource and then the estimate convention; nothing is wasted. The second sentence is terse to the point of being slightly cryptic about the fallback flow.

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

Completeness3/5

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

An output schema exists and all eight parameters are documented in the schema, so the description need not explain returns. However, for a comparison tool with two plausible sibling alternatives, it leaves the selection decision and the pricing fallback path under-specified.

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 description coverage is 100%, including the -1 defaults for estimate_low and estimate_high, so the baseline is 3. The description restates the -1 convention and frames the estimates as coming from a prior pricing step, but adds no format or fallback detail beyond the schema.

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 states a specific resource — new, used, and resale prices for a single named item — which tells an agent what it retrieves. It does not explicitly contrast with price_item or where_to_buy_or_sell, so the differentiation is only implied.

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?

The note that estimate_low/estimate_high carry a range 'already priced' from a prior step hints at a workflow where price_item runs first. There is no explicit statement of when to call this versus its siblings or when not to call it.

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.