Skip to main content
Glama

Identify a marketplace listing

resolve_listing
Read-onlyIdempotent

Identify a Kingdom Hearts, Demon Slayer, One Piece and Dragon Ball item from a marketplace listing (Mercari, Yahoo! Auctions, Suruga-ya, Mandarake, eBay…). Paste the listing title as-is (Japanese or English), e.g. {title: "一番くじ キングダムハーツ A賞 ソラ フィギュア 箱なし", price_jpy: 4500}. Returns candidates[] (sku_id, name_en, confidence 0-1, why, source_url, page_url = the item's page on merchgraph.app; several when the title is ambiguous), weak_matches[] when unsure, conditions[] (Japanese condition words such as 未使用/箱なし explained), flags[] (bootleg caution notes, not a verdict), price (original price and listing-to-original ratio when price_jpy is given), shipping (whether a shipping-forwarding service is needed from abroad; set platform for a precise answer; for Mercari/Suruga-ya a note that Mercari's global app may allow direct purchase in some countries), acquisition notes and next_checks_en (what to ask the seller). Listing text is not stored. For many listings at once use resolve_listings_batch.

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

Input Schema

NameRequiredDescriptionDefault
srcNoTraffic-source tag for usage statistics, used by the website (optional; only the tag and time are logged). Agents can omit it.
urlNoListing URL. Optional; not stored and not fetched.
titleYesThe listing title, copied as-is (required).
platformNoWhere it is listed. Optional.
price_jpyNoListing price in Japanese yen. Optional; enables the comparison with the original price.
descriptionNoPart of the listing description, e.g. condition notes such as 開封済み. Optional; improves condition and bootleg checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / description / description
      Previous value: -"説明文の抜粋(任意)"New value: +"Part of the listing description, e.g. condition notes such as 開封済み. Optional; improves condition and bootleg checks."
    • changedInput schema / properties / platform / description
      Previous value: -"出品プラットフォーム(任意)"New value: +"Where it is listed. Optional."
    • changedInput schema / properties / price_jpy / description
      Previous value: -"出品価格(円、任意)"New value: +"Listing price in Japanese yen. Optional; enables the comparison with the original price."
    • changedInput schema / properties / src / description
      Previous value: -"計測用の流入元タグ(任意)。Web版チェッカーのURLパラメータ?src=から渡される。src自体と日時のみ利用ログに残す"New value: +"Traffic-source tag for usage statistics, used by the website (optional; only the tag and time are logged). Agents can omit it."
    • changedInput schema / properties / title / description
      Previous value: -"出品タイトル(必須)"New value: +"The listing title, copied as-is (required)."
    • changedInput schema / properties / url / description
      Previous value: -"出品URL(任意・サーバー側では保存しない)"New value: +"Listing URL. Optional; not stored and not fetched."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/openWorld annotations, it discloses data-handling behavior ("Listing text is not stored") and sets expectations on ambiguity (several candidates when the title is ambiguous, weak_matches when unsure) and on the non-authoritative nature of flags ("bootleg caution notes, not a verdict"). It does not discuss rate limits or how confidence is computed, but the added behavioral context is well above the annotation baseline.

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 purpose and example are correctly front-loaded, and little is pure filler, but the second sentence is a single run-on enumeration of seven output fields plus four more sections with nested parentheses up to three levels deep. It is information-dense rather than padded, yet the density hurts scannability for an agent parsing it once.

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?

There is no output schema, and the description compensates fully by enumerating candidates[], weak_matches[], conditions[], flags[], price, shipping and next_checks_en, which is everything an agent needs to interpret the response. All six input parameters are accounted for and the ambiguity semantics are explicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: title must be copied as-is in Japanese or English, platform yields a precise shipping answer, price_jpy enables the listing-to-original ratio, and description text improves condition and bootleg checks. These are the practical reasons to supply each optional field, not restatements of the schema.

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?

The description states a specific verb and resource ("Identify a Kingdom Hearts, Demon Slayer, One Piece and Dragon Ball item from a marketplace listing") and names the supported sources (Mercari, Yahoo! Auctions, Suruga-ya, Mandarake, eBay). It also distinguishes itself from the sibling resolve_listings_batch by scoping itself to a single listing.

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?

It tells the agent to paste the listing title as-is in Japanese or English and provides a concrete invocation example, and it routes bulk work to resolve_listings_batch. It stops short of stating exclusions or prerequisites (for example, what to do when the title is missing or in another language), so it is clear rather than exhaustive.

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.