Skip to main content
Glama

DTMFRAME

Resolve a purchase request

resolve_purchase_request
Read-onlyIdempotent

Computation only: conditional product / setup / add-on candidates from typed constraints (category, brand, formats, OS, license, budget), optional free text and user-claimed ownership, bound to one published snapshot. Each candidate has fit reasons, a cost breakdown over the offers this channel may disclose, budget fit, acquisition steps, canonical_page and site_entry_page. For a product candidate, canonical_page is the product page on this site; it carries the complete price table (including listings withheld on this channel), the merchant purchase links and the affiliate disclosure. site_entry_page is the same page with the entry marker for this channel. For a setup candidate canonical_page is the /find/ page. No purchase, no persistence, no notification. Bounded compute class (10 per minute, shared with POST /api/v1/resolve). A partial answer is marked search_complete=false / best_found. Links are user_navigation handoffs (handoff_mode=user_navigation) and are not intended for prefetching or automatic clicking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
queryNo
detailNosummary
localeNoja-JP
regionNoJP
constraintsNo
max_candidatesNo
owned_editionsNo
schema_versionYes
ownership_claimsNo
user_supplied_pricesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already mark read-only and idempotent; the description goes further with no purchase/persistence/notification, rate-limit sharing, partial-answer flags, and link handoff semantics. This is exactly the behavioral context needed beyond annotations.

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?

Dense, front-loaded 'Computation only' and no filler; the prose organizes inputs, outputs, and constraints in a logical order. It is long but every clause carries a distinct behavioral or semantic fact.

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?

Despite no output schema, it enumerates candidate fields, page-link semantics, partial results, and compute limits, which is strong coverage for a complex 11-param tool. It does not map each input mode to output kind, but that is a minor gap.

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?

With 0% schema coverage, the description must compensate, and it gives high-level meaning to constraints, free text, and ownership claims. However it does not explain mode, detail, locale/region, max_candidates, or user_supplied_prices, leaving an agent to infer those from names/enums.

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?

Clearly states the tool does computation-only candidate resolution from typed constraints and lists output components, so it is not a purchase or persistence action. It differentiates from sibling search/compare/list tools by emphasizing no purchase/persistence and candidate semantics. The verb 'resolve' plus the resource is specific.

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?

Provides a strong context cue ('Computation only', bound to one published snapshot, budget constraints) that tells an agent when this is the resolution engine rather than an external action. But it never names siblings or states explicit when-to-use/when-not-to-use conditions, so the agent must infer alternatives from sibling names.

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