Skip to main content
Glama

Price an item

price_item
Read-onlyIdempotent

Prices one item from a photo or a name. Returns what it is worth as a range, the new and used asking prices, resale, and a confidence.

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

Input Schema

NameRequiredDescriptionDefault
notesNoAny other fact the user added.
titleNoItem name, as the user said it. Empty when the photo is the only input.
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.
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 already stated.
image_urlNohttps URL of a photo of the item. Empty if there is no URL.
media_typeNoPhoto type when a photo is sent.
image_base64NoBase64 photo bytes, without a data: prefix. Empty if there is no inline photo.

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
    • addedOutput schema / properties / from_past
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / retailers
      Added value: +{
      +  "type": "array"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / comps
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / confidence_label
      Added value: +{
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.6/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 the safety profile is fully covered by structured data. The description adds that the output is a value range with new/used asking prices, resale, and a confidence, which is useful context beyond annotations. It does not disclose what happens when no listings are found, whether photo or title takes precedence when both are supplied, or any cost/latency traits of an open-world pricing call.

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 tight sentences with zero filler: the first states inputs, the second enumerates the returned fields. Front-loaded and easy to scan.

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 a full output schema and 100% parameter documentation present, the description does not need to restate either, and it remains complete enough to call correctly. The one gap is that every parameter is optional with an empty default, yet the description implies a photo or a name is required, leaving the zero-input case undefined.

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%, so all eight parameters are already documented in detail, including the country/currency relationship and image handling. The description only restates the two headline input modes (photo, name) and adds no syntax, precedence, or edge-case meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

"Prices one item from a photo or a name" gives a specific verb and resource plus the two accepted input modes, and the word "one" implicitly separates it from the sibling compare_prices. It stops short of naming or contrasting any sibling explicitly.

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 singular scope ("one item") hints at when this tool is appropriate versus a comparison tool, but there is no explicit when-to-use, when-not-to-use, or mention of the available alternatives such as compare_prices or where_to_buy_or_sell. The agent must infer routing.

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.