Skip to main content
Glama

Checkout Guard — pre-purchase check for shops, payment links and paid APIs

Pre-purchase check for any shop, checkout link, payment page, API or x402 endpoint — or for a need: find the offer and check it

preflight
Read-only

Before an agent buys, pays or hires: send url (shop, checkout, payment link, API or x402 endpoint), need (what to buy in plain words; Angel takes the pick from the open sea at mareliberum.dev and checks it) or agent (mare:… resident: its trust score). One unpaid request each: TLS, domain age, look-alikes, redirects, payment provider, card fields, text aimed at agents and, for x402, USDC contract, payTo and price traps. Verdict pay, caution or do_not_pay, risk_score, reasons. Free with a key (500 calls) or 5 calls a day without one; then 0.02 USDC per call via x402, or 1 call from a key. After: input-guard on the page text you will act on (the result's next field has the exact 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": "preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNothe shop, checkout or payment link, API or x402 endpoint to check (public https domain, port 443). Send url or need.
needNoinstead of a url: what your user wants to buy, in plain words (sizes, budget, place included), e.g. "trail running shoes size 44 under 150 EUR, ships to Germany". Angel takes the pick from the open sea (mareliberum.dev/decide) and checks it before you pay.
agentNoinstead of a url: a resident of the open sea (mareliberum.dev) you want to pay or hire; Angel returns its trust score 0-100 from its work, notes, seals and own endpoint
budgetNowith need: highest price
methodNo
regionNowith need: country code or name
currencyNowith need: currency of the budget
payment_txNoHash of a USDC transfer on Base to payTo (≥ the price, ≤ 72 h old) instead of an x402 signature.
bundle_tokenNoYour key instead of paying per call: free (500 calls, POST /key) or bought by card. The connection header X-Bundle-Token works too.
partner_linkNodefault true: on verdict pay for a shop with an affiliate program, the answer adds partner_link (same merchant, disclosed: Angel may earn a commission, merchant sets the price); false omits it
max_price_usdNo
payer_addressNoWallet you pay from (optional; the x402 price is the same for every address).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agent
      Added value: +{
      +  "description": "instead of a url: a resident of the open sea (mareliberum.dev) you want to pay or hire; Angel returns its trust score 0-100 from its work, notes, seals and own endpoint",
      +  "pattern": "^mare:[a-z2-9]{12}$",
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • addedInput schema / properties / budget
      Added value: +{
      +  "description": "with need: highest price",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "with need: currency of the budget",
      +  "pattern": "^[A-Za-z]{3}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / need
      Added value: +{
      +  "description": "instead of a url: what your user wants to buy, in plain words (sizes, budget, place included), e.g. \"trail running shoes size 44 under 150 EUR, ships to Germany\". Angel takes the pick from the open sea (mareliberum.dev/decide) and checks it before you pay.",
      +  "maxLength": 300,
      +  "minLength": 3,
      +  "type": "string"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "with need: country code or name",
      +  "type": "string"
      +}
    • changedInput schema / properties / url / description
      Previous value: -"the shop, checkout or payment link, API or x402 endpoint to check (public https domain, port 443)"New value: +"the shop, checkout or payment link, API or x402 endpoint to check (public https domain, port 443). Send url or need."
    • removedInput schema / required
      Removed value: -[
      -  "url"
      -]
  3. Changed2 schema fields changed
    • changedInput schema / properties / bundle_token / description
      Previous value: -"Token from buy_signal_pack or buy_pack_with_card instead of paying per call."New value: +"Your key instead of paying per call: free (500 calls, POST /key) or bought by card. The connection header X-Bundle-Token works too."
    • changedInput schema / properties / payer_address / description
      Previous value: -"Wallet you pay from: the payment-required error quotes your tier (0 payments base price (new-payer surcharge paused), 1-10 base, >10 -30 %) and, from the third payment, an upgrade with your own spend."New value: +"Wallet you pay from (optional; the x402 price is the same for every address)."
  4. Changed1 schema field changed
    • changedInput schema / properties / bundle_token / description
      Previous value: -"Token from buy_signal_pack, buy_subscription (pro/desk) or buy_enterprise instead of paying per call."New value: +"Token from buy_signal_pack or buy_pack_with_card instead of paying per call."
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real weight and delivers: it discloses the cost ladder (500 free calls with a key, 5/day anonymous, then 0.02 USDC per call via x402 or 1 key call), the fact that checks are one unpaid request each, and the verdict vocabulary (pay/caution/do_not_pay). It does not cover latency, failure modes, or what happens when a check cannot resolve.

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

Conciseness3/5

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

The purpose is front-loaded, but the prose is telegraphic and jargon-heavy — 'the pick from the open sea', 'a resident of the open sea', 'mare:…' — which forces re-reading. Pricing, verdicts, check lists, key mechanics and a follow-up call are all crammed into one paragraph with semicolons and parentheses rather than separated structure.

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 12-parameter tool with no output schema, the description compensates well by naming the return fields (verdict, risk_score, reasons, next) and explaining the payment and key mechanics. What is missing is clarity on what happens when a source is unreachable or how partial results are reported.

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 83%, so the baseline is 3 and the schema already documents most parameters including url, need, agent, budget and region. The description reinforces the mutually exclusive url/need/agent modes and the meaning of the trust score, but adds little syntax or format detail beyond what the schema descriptions already provide.

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 names a concrete verb and scope: a pre-purchase check of a URL, a plain-language need, or a resident agent, and it enumerates the artifacts checked (TLS, domain age, redirects, payment provider, card fields, x402 USDC contract). It partially differentiates from siblings by routing page-text follow-up to input-guard, but it never distinguishes itself from shield_check or token_risk, so an agent must infer the boundary.

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?

The opening clause 'Before an agent buys, pays or hires' gives a clear trigger, and the url/need/agent triad tells the caller which input mode fits which situation. The closing 'After: input-guard on the page text you will act on' is a genuinely useful hand-off. There is no explicit when-not guidance or comparison against the sibling risk tools.

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.