Skip to main content
Glama

Agent Purchase Verification

Verify Purchase

verify_purchase

Check whether a proposed ecommerce purchase satisfies buyer-defined constraints before money is committed. Returns PASS, FAIL, or REVIEW with supporting evidence. Use REVIEW when evidence is incomplete, ambiguous, conditional, stale, or conflicting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
merchantNo
product_urlYes
buyer_regionNo
requirementsYes
buyer_countryYes
buyer_postal_codeNo
transaction_factsNo
product_or_scenarioNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does a solid job: it discloses that evaluation happens pre-commitment and enumerates the three result states with the condition that triggers REVIEW. It does not state whether the call is purely read-only/no-side-effect (implied but not asserted), nor anything about latency, auth, or whether external merchant lookups occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with the core purpose front-loaded, followed by outcome states and the REVIEW trigger. No filler, and every sentence carries decision-relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but the tool takes 8 parameters including two unconstrained nested objects with 0% schema coverage and the description offers no guidance on them. For a tool whose entire value hinges on how 'requirements' and 'transaction_facts' are shaped, this is a material gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description must compensate and largely does not. Only 'buyer-defined constraints' loosely maps to the free-form 'requirements' object; the other open-ended object ('transaction_facts'), plus product_url, buyer_country, buyer_region, merchant, and buyer_postal_code, receive no explanation of expected format or content.

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 verb and resource ('Check whether a proposed ecommerce purchase satisfies buyer-defined constraints') with a clear decision framing ('before money is committed'). The three possible outcomes (PASS, FAIL, REVIEW) are named, so an agent knows exactly what class of result this tool produces. No siblings exist to differentiate from, but the tool's scope is unambiguous.

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 ('before money is committed') and a precise condition for the REVIEW outcome ('evidence is incomplete, ambiguous, conditional, stale, or conflicting'), which is genuinely actionable routing guidance. It lacks any exclusions or named alternatives, but there are no sibling tools to route toward.

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