Skip to main content
Glama

purchase_evidence

Read-only

Purchase evidence: what a product page showed. Use when an agent is about to buy, or has just bought, from a public product or offer page, and needs a signed, dated record of the price, availability, identifiers and return policy the page declared, the returns, shipping and terms pages it linked to, and any instruction patterns in visible or hidden text, optionally bound to an order reference. Cost: 3 credits per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "purchase_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoObserved mode: the public product or offer page, fetched by PageVerified. Supply url, or html with page_url.
htmlNoSubmitted mode: the page HTML your agent was shown (up to 4,000,000 characters). Not fetched; recorded as caller_submitted, in a private record without outside timestamps. Use it where a merchant blocks automated fetches. Meant for agent runtimes calling the REST endpoint; a model cannot pass a whole page as an MCP tool argument.
page_urlNoSubmitted mode: the URL the HTML came from, as you claim it. Recorded as a claim, never fetched.
order_refNoYour order or cart reference, up to 128 characters from letters, digits and ._:/#-. Records are publicly readable, so only its SHA-256 is bound into the record; keep the reference to show the match.
mandate_hashNoSHA-256 hex of a payment mandate or intent you hold (for example an AP2 cart mandate). Bound as supplied; PageVerified never sees the mandate.
include_policiesNoDefault true: also record up to 3 same-origin returns, shipping, warranty or terms pages the product page links to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description adds material behavior: the record is signed and dated, captures product-page declarations plus linked policy pages, flags instruction patterns in visible or hidden text, and costs 3 credits per call. It omits some important mode/privacy details that remain only in schema descriptions, such as submitted HTML being unfetched and order references being hashed; no annotation contradiction is present.

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 lead phrase is front-loaded and the following sentence packs the necessary scope, cost and usage context without obvious filler. It is dense and could benefit from being split, but it is appropriately sized for a six-parameter evidence-capture tool.

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 complex tool with six optional parameters, two evidence modes and no output schema, the description gives a complete use case and explains what the returned record contains. It relies on the fully documented input schema for critical mode distinctions and privacy constraints, which is reasonable but leaves output format and mode selection implicit in the description itself.

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% and every parameter has a detailed schema description, so the schema already carries parameter semantics. The main description adds some conceptual framing — optional order-reference binding and linked policy capture — but does not add syntax or constraints beyond what the schema provides.

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?

The description defines a specific resource — a signed, dated purchase-evidence record from a public product or offer page — and enumerates the price, availability, identifiers, policy and instruction-pattern contents. It is clear what the tool produces, though it does not explicitly distinguish itself from nearby URL-capture or page-analysis siblings.

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 gives an explicit trigger: use when the agent is about to buy or has just bought from a public product or offer page and needs a signed, dated evidence record, optionally tied to an order. No when-not-to-use condition or named alternative is supplied, so it stops short of full routing guidance.

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