Skip to main content
Glama

Jithox Commerce Preflight

Get one product's current offer or checkout evidence

get_product_offer
Read-only

Report one product's current offer from the queried source (price in integer minor units, availability, provenance) — or, given a merchant host plus the merchant's own itemId, prepare/re-check NORMALIZED CHECKOUT EVIDENCE over the merchant's declared UCP/ACP checkout data: items, currency, subtotal, discount, tax, fees, shipping, total, fulfillment, policy links, expiry and an evidence hash, with bounded truth states 'verified' / 'changed' / 'unsupported' / 'unavailable' / 'unverified'. Pass priorEvidence (component hashes from an earlier answer) to detect price/stock/shipping/terms changes between preparation and re-check. 'verified' means fetched, parsed and internally consistent — never 'safe', never 'approved', never a guarantee the merchant honors the quote. A price is never guessed. Answers come from the queried source at the stated retrieval time — a UCP or ACP merchant, a partner catalog source, or a clearly-labelled synthetic fixture in dev/test; provenance.sourceAuthority names which, and every answer carries the markets that source declares. Preflight evidence only — this server never places, modifies or cancels an order and never touches a payment; the merchant stays merchant of record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eanNoEAN/GTIN of the product.
itemIdNoThe merchant's own item id (required with merchant).
merchantNoA merchant hostname for checkout evidence (must be on this deployment's allowlist or served by a configured provider).
quantityNoQuantity for the checkout evidence quote (default 1).
priorEvidenceNocomponentHashes from a prior evidence answer — presence turns this call into a re-check with per-component change detection.
publicRecordIdNoA public record id from a prior search.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
billingYes
productYes
receiptYes
decisionYes
retryableYes
capabilityYes
provenanceYes
generatedAtYes
limitationsYes
schemaVersionYes
receiptEnvelopeNo
decisionCategoryYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already signal read-only, open-world, non-destructive; the description adds meaningful behavioral context: bounded truth states, 'never safe/approved/guarantee', price never guessed, provenance source naming, and server-side limitations (no order/payment actions). This goes well beyond the 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?

The description is a single dense paragraph with many clauses; it leads with the main action but packs in caveats (truth states, provenance, safety) that could be structured. It remains informative and not redundant with schema.

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 complex tool with 6 params, nested objects, and an output schema, the description covers the tool's dual modes, expectations, safety boundaries, and change-detection behavior, leaving little ambiguity. Output schema covers return values.

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 covers 100% of params with descriptions. The tool description adds context on priorEvidence's role (re-check with change detection) and merchant allowlist requirement, but otherwise relies on schema for individual parameter semantics—a solid improvement over the baseline.

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 explicitly states the tool reports one product's current offer or prepares/re-checks normalized checkout evidence, with specific data points (price, availability, provenance, truth states). This clearly distinguishes it from siblings like search_retail_products (searching) and compare_product_offers (comparing).

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 explains two distinct invocation modes (offer vs checkout evidence) and the condition for re-check (passing priorEvidence). It provides context for preflight use and states the server never places orders, but it does not explicitly contrast with sibling tools or state when not to use it.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool addresses a distinct concern: search, single-offer retrieval, offer comparison, affiliate link building, and readiness self-description. Even the dual-role get_product_offer (offer or checkout evidence) is clearly separated by input pattern, not overlapping with other tools.

Naming Consistency5/5

All tool names follow the consistent verb_noun pattern in lowercase snake_case: search_, get_, compare_, build_. This makes the toolset predictable and easy to navigate.

Tool Count5/5

Five tools is a well-scoped size for a preflight commerce evidence server. Each tool earns its place and there is no bloat or redundancy.

Completeness5/5

The domain is preflight evidence (no ordering/payment), and the set covers search, offer lookup, comparison, affiliate link, and readiness introspection. This is a complete lifecycle for the stated purpose with no obvious gaps.

Resources