Skip to main content
Glama

lookup_policy

Look up a US retailer's published return, price adjustment, warranty, or cancellation policy with quoted source text and a TRACE receipt. Call before Black Friday / Cyber Week purchase decisions (holiday_extended_return.policy_year overlays, price_adjustment_detail honesty). Call Dec 26–Jan 31 for return-by urgency — responses surface exceptions before headline January dates and honest live|curated|archive source badges.

Input Schema

NameRequiredDescriptionDefault
kindYes
as_ofNoISO date (YYYY-MM-DD) for deadline math
storeYesStore slug or domain, e.g. "target" or "target.com"
anchor_dateNoDelivery or purchase date (ISO) when computing last eligible day

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose real behavior: responses include quoted source text, a TRACE receipt, provenance badges (live|curated|archive), and an ordering rule where exceptions surface before headline January dates. It stops short of stating error behavior for unknown stores or whether fetching is live or cached.

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?

Front-loaded with the purpose in the first sentence, and the seasonal triggers follow in compact, information-dense clauses. Some internal jargon ('price_adjustment_detail honesty', 'TRACE receipt') is cryptic and costs a bit of clarity per word.

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?

For a four-parameter, no-annotation lookup tool with no output schema, the description covers scope (US retailers only), the returned artifacts (quoted source text, receipt, provenance badges), and the ordering of exceptions — enough to call it correctly without guessing.

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 75%, so the schema already explains store, as_of, and anchor_date, and the description adds nothing param-specific. The mentions of 'holiday_extended_return.policy_year' and 'price_adjustment_detail' are output field names, not parameter semantics, so baseline 3 applies.

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?

States a specific verb (look up) and a tightly scoped resource: a US retailer's published return, price_adjustment, warranty, or cancellation policy, plus the shape of the answer (quoted source text, TRACE receipt). It never names the sibling get_receipt, and the phrase 'TRACE receipt' could even blur the line with it, so sibling differentiation is left implicit.

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 concrete calling triggers — before Black Friday / Cyber Week purchase decisions, and during the Dec 26–Jan 31 return window for deadline urgency. That is clear when-to-use context, but there is no when-not guidance and no explicit alternative tool to consult instead.

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