Skip to main content
Glama

Resolve a listing's link

resolve_listing
Read-onlyIdempotent

The merchant's link and name for a find_cheaper or search_products card that came with a resolve_id instead of a url.

Answers `resolved`, `url` and `retailer`. An id is valid for up to three
days after the search that produced it, sometimes less: resolve the
cards you want to show soon after the search.

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": {
      "resolve_id": "<resolve_id>"
    },
    "name": "resolve_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
resolve_idYesThe resolve_id of a find_cheaper or search_products card whose url is null.

Output Schema

NameRequiredDescriptionDefault
urlYesThe merchant's link to the listing. Null when not resolved. On the Free plan it may be an affiliate link.
resolvedYesTrue when the merchant's link was found.
retailerYesThe merchant's name. Null when not resolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / resolve_id / description
      Previous value: -"The resolve_id of a find_cheaper card whose url is null."New value: +"The resolve_id of a find_cheaper or search_products card whose url is null."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world semantics, and the description adds real context beyond them: the output keys (resolved, url, retailer) and the three-day, sometimes-shorter validity window with the advice to resolve promptly. It stops short of stating what happens when an id has expired, though the `resolved` field implies a failure flag.

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?

Three short sentences, front-loaded with the identity of the input, then the outputs, then the time constraint. Listing the return keys is mildly redundant given an output schema exists, but it is one brief clause and aids quick scanning.

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 single-parameter tool with full schema coverage, annotations, and an output schema, the description covers input provenance, outputs, and the critical expiry behavior. Only the explicit failure behavior for an expired or unknown id is left implicit.

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 schema already defines resolve_id and its origin. The description adds meaning beyond the schema by explaining the validity window of the id and the practical consequence of delay, which directly affects how the agent should treat this parameter.

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 specific resource (the merchant's link and name) and the exact input condition — a card from find_cheaper or search_products that carried a resolve_id instead of a url. This explicitly ties it to the sibling tools that produce such ids, so an agent can tell it apart from them without reading schemas.

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 clear usage context: resolve cards soon after the search, because ids expire in up to three days. It does not spell out an explicit 'do not use this if...' case (e.g. when a url is already present), but the trigger condition is unambiguous.

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