Skip to main content
Glama

FOXIFY Agent Authority + Payment Preflight

Verify Agent Payment Intent

verify_agent_payment_intent

Paid transaction preflight. Checks mandate, amount, destination, merchant, expiry and replay risk before an autonomous payment executes. Costs $0.05 USDC on Base.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "intent_id": "<intent_id>",
      "nonce": "<nonce>",
      "expires_at": "<expires_at>",
      "merchant": "<merchant>",
      "payment": "<payment>",
      "authorization": "<authorization>"
    },
    "name": "verify_agent_payment_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOptional caller agent metadata. Assertions are advisory unless independently verified.
nonceYesUnique anti-replay nonce
paymentYesPayment facts to compare with the caller authorization envelope.
merchantYesMerchant identity and optional recipient expectation.
intent_idYesUnique payment-intent identifier
expires_atYesISO-8601 intent expiry
authorizationYesCaller-provided payment authorization boundary used for advisory comparison.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / agent / description
      Added value: +"Optional caller agent metadata. Assertions are advisory unless independently verified."
    • addedInput schema / properties / agent / properties / id / description
      Added value: +"Optional caller agent identifier."
    • addedInput schema / properties / agent / properties / signature_verified / description
      Added value: +"Whether the caller asserts that the agent signature was verified before this preflight."
    • addedInput schema / properties / authorization / description
      Added value: +"Caller-provided payment authorization boundary used for advisory comparison."
    • addedInput schema / properties / authorization / properties / allowed_domains / description
      Added value: +"Optional allowlist of merchant domains authorized for this payment."
    • addedInput schema / properties / authorization / properties / expected_recipient / description
      Added value: +"Optional recipient required by the authorization boundary; compared with the requested payment recipient."
    • addedInput schema / properties / authorization / properties / human_confirmed / description
      Added value: +"Whether the caller asserts that required human confirmation has occurred."
    • addedInput schema / properties / authorization / properties / max_amount / description
      Added value: +"Maximum amount authorized by the caller mandate."
    • addedInput schema / properties / merchant / description
      Added value: +"Merchant identity and optional recipient expectation."
    • addedInput schema / properties / merchant / properties / domain / description
      Added value: +"Merchant domain the payment is intended for."
    • addedInput schema / properties / merchant / properties / expected_recipient / description
      Added value: +"Optional merchant-side expected payment recipient for cross-checking."
    • addedInput schema / properties / payment / description
      Added value: +"Payment facts to compare with the caller authorization envelope."
    • addedInput schema / properties / payment / properties / amount / description
      Added value: +"Requested payment amount in the caller contract units."
    • addedInput schema / properties / payment / properties / currency / description
      Added value: +"Payment asset or currency symbol, for example USDC."
    • addedInput schema / properties / payment / properties / network / description
      Added value: +"Payment network identifier, for example eip155:8453 for Base."
    • addedInput schema / properties / payment / properties / recipient / description
      Added value: +"Destination account or address that would receive the payment."
  2. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / agent / additionalProperties
      Previous value: -trueNew value: +{}
    • changedInput schema / properties / authorization / additionalProperties
      Previous value: -trueNew value: +{}
    • addedInput schema / properties / authorization / properties / allowed_domains / maxItems
      Added value: +64
    • changedInput schema / properties / merchant / additionalProperties
      Previous value: -trueNew value: +{}
    • changedInput schema / properties / payment / additionalProperties
      Previous value: -trueNew value: +{}
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already disclose readOnly=false, destructive=false, openWorld=true, and idempotent=false. The description adds important context beyond those annotations: it is a paid preflight costing $0.05 USDC on Base and checks mandate, amount, destination, merchant, expiry, and replay risk before execution. It still omits what happens on failure, whether a nonce is consumed, and what the response indicates.

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?

The description is three compact, front-loaded sentences. Purpose and timing come first, the specific checks follow, and the cost is stated last with no redundant wording.

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

Completeness3/5

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

For a 7-parameter, 6-required nested payment verification tool with no output schema, the description covers purpose, timing, checks, and cost. However, it does not explain the response contract or failure behavior, which are important gaps for an agent interpreting the preflight result.

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 description coverage is 100%, so the schema already documents each nested field, including advisory assertions and nonce replay handling. The description's list of checked items maps loosely to parameters but does not add syntax, constraints, or meaning beyond the schema.

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 and resource: 'Paid transaction preflight' that checks payment intent details before an autonomous payment executes. The enumerated checks make the purpose clear, but it does not explicitly distinguish itself from sibling verification tools such as verify_agent_action_intent or foxify_preflight_info.

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 timing guidance: use it 'before an autonomous payment executes.' That is enough to understand the usage context, but it does not name when not to use it or point to alternatives for non-payment action checks.

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