Skip to main content
Glama

lookup_listing

Destructive

Read a product or app listing from its store by id or link: title, images (main image first), price and currency, rating, ratings count, description, and store-specific fields such as Amazon bullets. Each field carries the provider that filled it; a field the store did not return is absent. Use this when the user names a listing and you need what it shows, instead of fetching the web page, which misses details the store renders with JavaScript. Sources today: amazon (an ASIN or Amazon product link) and apple (an App Store link or app id). Omit source only when reference is a link whose host identifies the store; a bare id needs source. An Amazon listing's fields fill one result on the amazon-search mockup template (list_mockup_templates): title, image from images[0], price, rating, reviews from ratingsCount, prime as "yes" or "no", and boughtPastMonth from recentSales, as a values.competitors[] row or as the user's own product; save_survey's description gives the steps. It does not create a survey.

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": {
      "reference": "<reference>"
    },
    "name": "lookup_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoTwo-letter country or marketplace code, such as us, uk or de. Omit for the US store. A region in the link wins over this one.
sourceNoThe store the listing is on: amazon or apple. Omit only when reference is a link whose host names the store.
teamIdNoAccount ID from whoami, or personal. Keep the same account through draft creation, quote confirmation, and publication.
referenceYesThe listing's id or link: an Amazon ASIN or product link, or an App Store link or app id.

Output Schema

NameRequiredDescriptionDefault
idYesThe listing's canonical id, such as the ASIN.
fieldsYesEach field as { value, provider }. A field the store did not return is absent. Store-specific fields, such as Amazon bullets, sit beside the shared ones.
regionYes
sourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / teamId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "personal",
      +      "type": "string"
      +    },
      +    {
      +      "pattern": "^tm_[0-9a-f]{32}$",
      +      "type": "string"
      +    }
      +  ],
      +  "description": "Account ID from whoami, or personal. Keep the same account through draft creation, quote confirmation, and publication."
      +}
  2. Added

TDQS

A3.6/5.0
Behavior2/5

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

The description does disclose real behavior the annotations do not: per-field provider attribution, absence of fields the store did not return, and open-world store sources. However, the annotations declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, while the description frames this purely as a store read with no mention of any destructive, write, or irreversible effect, leaving an unresolved safety discrepancy. It also says nothing about failure modes when an ASIN/store combination is invalid.

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 opening sentence is well front-loaded and the field list is efficient, but the final third drifts into mockup-template row mapping and a pointer to save_survey steps, which is workflow spillover rather than lookup semantics. It is not padded with fluff, yet already-long per-field mapping detail crowds the core calling instructions.

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?

For a four-parameter lookup with an output schema and full schema coverage, the description covers purpose, sources, source-omission rules, and result shape well enough to call it correctly. The main incompleteness is behavioral: nothing explains the destructive/not-read-only annotation or quota/auth implications.

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 baseline is 3. The description does add genuinely useful conditional logic beyond the schema for source/reference ("Omit source only when reference is a link whose host identifies the store; a bare id needs source"), but it adds nothing about region or teamId, which are documented only in 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?

States a concrete verb and resource — "Read a product or app listing from its store by id or link" — and enumerates what comes back (title, images, price, currency, rating, ratings count, description, store-specific fields like Amazon bullets), plus the supported stores (amazon, apple). It is clearly distinguishable from the survey/creation siblings, and it explicitly says what it is not ("It does not create a survey").

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 an explicit trigger ("Use this when the user names a listing and you need what it shows") and an explicit rejected alternative ("instead of fetching the web page, which misses details the store renders with JavaScript"), plus a rule for when source may be omitted. It also explains the downstream path into list_mockup_templates/save_survey. What is missing is any exclusion relative to other listing-adjacent siblings (e.g., image extraction), so the routing is strong but not 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.

Resources