Skip to main content
Glama

A-Pay Protocol

Server Details

Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation4/5

The five tools each target a distinct action (read balance, read wallet status, inspect endpoint, pay, set budget), but apay_get_balance and apay_get_wallet_status overlap somewhat since both report on wallet state and spending. The descriptions do clarify the split (funds vs identity/guardrails), so confusion is minor.

Naming Consistency5/5

Every tool uses the same apay_ prefix followed by a consistent verb_noun snake_case pattern (get_balance, get_wallet_status, inspect_endpoint, request, set_budget). No mixing of conventions.

Tool Count5/5

Five tools is well-scoped for a micropayment protocol: enough to cover inspect-pay-configure-read flows without bloat. Each tool clearly earns its place.

Completeness4/5

The surface covers the key lifecycle: read balance, read wallet status, quote an endpoint, execute payment, and configure budget guardrails. Minor gaps exist (e.g. no transaction history or fund withdrawal/reclaim operation), but core agent workflows are supported.

Available Tools

5 tools
apay_get_balanceAInspect

Inspect the agent's live on-chain balances on Base Layer 2, including native ETH (for gas), USDC, and $APAY tokens.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressNoOptional target EVM address to inspect balances for

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses chain (Base L2), token set, and that balances are 'live', which is useful context, but says nothing about permissions, rate limits, or what happens when the address is omitted (presumably the agent's own wallet).

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?

A single tight sentence with the resource and chain front-loaded and the covered assets enumerated. No filler, nothing redundant.

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 one-parameter read tool with no output schema this is mostly sufficient, and the token list hints at return contents. The gap is the interaction between 'the agent's balances' and the optional address override, which is left ambiguous.

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% and the single parameter is documented there as an optional EVM address, so the baseline is 3. The description adds no syntax, format, or default-behavior detail beyond what the schema already states.

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 (Inspect) and resource (agent's live on-chain balances on Base Layer 2) and enumerates the tokens covered (ETH, USDC, $APAY). However, it does not differentiate itself from the close sibling apay_get_wallet_status, leaving the agent to guess which one to call.

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 only implied: the parenthetical '(for gas)' hints at why one would check ETH, but there is no explicit when-to-use, no when-not-to-use, and no routing to or from apay_get_wallet_status. Adequate for an obvious read tool, but no real guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

apay_get_wallet_statusAInspect

Inspect the agent's active non-custodial wallet address, network, current spending guardrails, and total spent in USDC and $APAY.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'Inspect' plus the read-only nature of the listed fields implies a non-mutating read, and it usefully discloses that the wallet is non-custodial and that guardrails are included. However, it never states read-only behavior explicitly, nor any auth or rate-limit considerations.

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?

A single dense sentence that front-loads the action and then lists the returned data with no filler. Every clause earns its place.

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, the description does the work of enumerating the return fields (address, network, guardrails, spend totals), which is adequate for a zero-argument read tool. Only the absence of usage routing and explicit read-only framing keeps it short of full completeness.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline of 4 applies. There are no arguments whose semantics could be added, and the description correctly describes the operation as argument-free.

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 (Inspect) and resource (wallet status) and enumerates exactly what is retrieved: address, network, spending guardrails, and USDC/$APAY spent totals. This differentiates it from apay_get_balance in substance, though it never names the sibling explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of alternatives like apay_get_balance, and no conditions or prerequisites. Usage is only implied by the word 'Inspect' – an agent gets no help deciding between this and the balance tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

apay_inspect_endpointAInspect

Inspect an endpoint to check if it requires an A-Pay micropayment, inspect the exact price quote, currency, and payout receiver without spending any funds.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to probe for HTTP 402 payment requirements

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the most important trait: this probe is free and non-destructive ('without spending any funds'), and it enumerates the information surfaced (payment requirement, quote, currency, receiver). It omits what is returned when no payment is required, auth needs, and rate limits, but the safety profile is clear.

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?

A single front-loaded sentence with zero waste; the no-cost guarantee and the enumerated outputs each earn their place.

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 one-parameter read-only probe with no output schema, the description covers purpose, the pre-spend framing, and the fields discovered. It would be fully complete with a note on the non-payment outcome, but nothing essential for correct invocation is missing.

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%, so the single 'url' parameter and its HTTP 402 probing role are already documented in the schema. The description adds no format, validation, or syntax details beyond what the schema provides, so the baseline 3 applies.

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 (inspect) and resource (endpoint) plus the exact data revealed: payment requirement, price quote, currency, and payout receiver. It implicitly separates itself from a paying sibling like apay_request via 'without spending any funds', but never names an alternative, so sibling differentiation is implied rather than explicit.

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?

The practical trigger (probe before committing funds) is implied by 'without spending any funds', which suggests the pre-payment inspection role. However, it never states when to use this over apay_request or that it should precede a payment, leaving the agent to infer the workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

apay_requestBInspect

Probe and automatically pay HTTP 402 crypto micropayments on Base Layer 2 with USDC or $APAY within pre-configured budget limits.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe target endpoint URL
methodNoGET
headersNoOptional additional HTTP headers
json_bodyNoOptional JSON request body

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the payment mechanism, currencies (USDC/$APAY), chain (Base L2), and the budget-limit guardrail. It omits what happens when the budget is exceeded, how non-402 responses are handled, wallet/auth prerequisites, and whether payments are irreversible — all material for a tool that spends funds.

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?

A single dense sentence with no filler, and the core action ('probe and automatically pay') is front-loaded before the qualifying constraints. Efficient, though the jargon load makes it slightly harder to parse than a shorter phrasing would be.

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 tool that irreversibly spends crypto, with no output schema and no annotations, the description should explain the response shape and failure modes (budget exhaustion, failed payment). It covers the mechanism but leaves the agent guessing about outcomes, so it is only adequate.

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 75%, so the schema already documents url, headers, and json_body, and the method enum is self-describing. The description adds no parameter-level meaning (e.g., how headers interact with the payment flow, or the default method), so it does not compensate for the undocumented method parameter. Baseline 3 is appropriate.

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 specific compound verb+resource: it probes an endpoint and automatically pays HTTP 402 crypto micropayments on Base L2. That is far more specific than the sibling names suggest and tells an agent this is the pay-and-fetch tool. It stops short of distinguishing itself from apay_inspect_endpoint, which sounds like the non-paying probe counterpart.

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 only implied: the mention of 'pre-configured budget limits' hints that apay_set_budget must run first, but there is no explicit when-to-use, when-not-to-use, or comparison against apay_inspect_endpoint as the dry-run alternative. An agent must infer the calling context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

apay_set_budgetCInspect

Configure agent safety invariants and spending guardrails. Prevents runaway loops or overcharging.

ParametersJSON Schema
NameRequiredDescriptionDefault
daily_budget_apayNoMaximum $APAY token rolling 24-hour spending budget
daily_budget_usdcNoMaximum USDC rolling 24-hour spending budget
max_per_call_apayNoMaximum $APAY token allowance for a single API call
max_per_call_usdcNoMaximum USDC allowance for a single API call

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it says little beyond intent: it does not state that settings persist, whether provided values replace or merge with existing limits, what happens when a parameter is omitted (all four are optional), or what authority is required. 'Prevents runaway loops or overcharging' hints at enforcement but never explains the mechanism.

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?

Two tight sentences with no filler, and the core purpose is front-loaded. It is slightly under-specified rather than verbose, which is not a conciseness failure.

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?

For a 4-parameter mutation tool with no annotations and no output schema, the description leaves key gaps: persistence of settings, semantics of optional parameters at already-set budgets, and interaction with the sibling apay_request tool that these guardrails constrain.

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 four parameters (daily vs per-call, APAY vs USDC) are already documented in the schema. The description adds no meaning about units, defaults, or behavior when values are omitted, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Configure' plus 'spending guardrails' conveys that this sets spending limits, which is a real purpose rather than a tautology. But 'agent safety invariants' is abstract jargon, and the description never names the concrete resources ($APAY/USDC budgets, per-call caps) that distinguish it from siblings like apay_get_balance or apay_request.

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

Usage Guidelines2/5

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

There is no statement of when to invoke this tool, no prerequisites (e.g., before making apay_request calls), and no reference to any alternative. The reader must infer its place in the workflow entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updates
    • First observedapay_get_balance
    • First observedapay_get_wallet_status
    • First observedapay_inspect_endpoint
    • First observedapay_request
    • First observedapay_set_budget

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources