Skip to main content
Glama

FOXIFY Agent Authority + Payment Preflight

Verify x402 Payment Required

verify_x402_payment_required

Paid wire-bound x402 v2 preflight. Give FOXIFY the merchant's actual PAYMENT-REQUIRED challenge, exact intended HTTP request and independent caller authority; FOXIFY derives payment facts and returns advisory ALLOW, REVIEW or DENY evidence. 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": {
      "payment_required": "<payment_required>",
      "intended_request": "<intended_request>",
      "authorization": "<authorization>"
    },
    "name": "verify_x402_payment_required"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoOptional caller agent context.
accept_indexNoExplicit accepted-payment index when the challenge contains multiple eligible exact-USDC options.
authorizationYesIndependent caller authority. Merchant PAYMENT-REQUIRED facts never authorize themselves.
intended_requestYesExact HTTP request bound to the merchant x402 challenge.
payment_requiredYesRaw x402 v2 PAYMENT-REQUIRED header value or its decoded object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the read-safe mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description's real contribution is the cost disclosure ('$0.05 USDC on Base') and the advisory-only nature of the verdict, plus the trust model that merchant-supplied facts never self-authorize. It stops short of describing retry/idempotency behavior or what happens on malformed challenges.

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?

Three short sentences, front-loaded with the identity of the tool, then inputs, then output and price — minimal waste. Some jargon ('wire-bound', 'FOXIFY') slightly raises the reading cost but does not obscure the point.

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?

With no output schema and nested-object parameters, the description correctly carries the burden of explaining that the return is advisory evidence with three verdict states, and it discloses the per-call cost. Gaps remain around failure modes and the meaning of REVIEW versus DENY in practice, but the essentials for correct invocation are present.

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 all five parameters and nested fields are already documented. The description restates the three required inputs and frames 'authorization' as independent caller authority, which adds useful conceptual meaning but no new syntax or format detail 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?

The description pairs a specific verb ('verify' / 'preflight') with a specific resource ('x402 v2 PAYMENT-REQUIRED challenge') and states what the tool derives from it (payment facts and ALLOW/REVIEW/DENY evidence). The 'wire-bound' framing hints at how it differs from the agent-intent siblings, but that differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'preflight' — call it before settling a 402 challenge — but there is no explicit when-to-use versus the sibling verify_agent_payment_intent / verify_agent_action_intent tools, no prerequisites, and no when-not-to-use guidance. The agent must infer the selection criteria.

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