Skip to main content
Glama

Tollbridge

Tollbridge outcome hook endpoint (webhook on settle)

tollbridge_hook
Idempotent

x402 exact USDC Base · after paying, poll /v1/resolutions/:id until horizon_end. PAID ADD-ON — register an outcome hook endpoint: a public http(s) URL that Tollbridge POSTs to when one of the payer's decisions settles (realized or unresolvable). One registration debits the billing.addon.hook add-on and buys a 30-day window; re-registering the same URL inside its window replays honestly (no second charge, the signing secret is never re-served). Registration NEVER claims delivery is live — delivery truth is the attempt record, not optimism. The URL is checked at registration (loopback, private and metadata hosts are refused). READ THE SECRET ONCE: when the deployment signs per endpoint, the secret is shown exactly once in this result. PAID — x402 exact USDC on Base (eip155:8453) or Scout credits via the credit rail: pass payer (a Base address 0x…) as a tool argument, or send x-tollbridge-payer: <address> on the MCP HTTP request, or settle with an x402 PAYMENT-SIGNATURE. After paying, poll /v1/resolutions/:id until horizon_end. An unpaid call returns a structured payment_required challenge, never fabricated data. A refusal refunds the debit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
payerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
statusYes
paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it debits the billing.addon.hook add-on, buys a 30-day window, never re-serves the signing secret, checks the URL at registration (refusing loopback/private/metadata hosts), returns a payment_required challenge when unpaid, and refunds on refusal. This aligns with (and enriches) idempotentHint=true and openWorldHint=true rather than contradicting them.

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 core purpose is front-loaded, but the text repeats verbatim phrases — 'x402 exact USDC Base' and 'After paying, poll /v1/resolutions/:id until horizon_end' both appear twice — and the payment rail details are dense. It is informative but wastes space on duplication.

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 an output schema present (so return values need no explanation) and only two params, the description covers payment, registration semantics, secret handling, and URL validation. It is close to complete for a paid write tool, with only minor gaps in post-registration expectations.

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?

Schema description coverage is 0%, so the description must carry the load, and it largely does: `payer` is framed as a Base address 0x… with three accepted delivery channels (tool argument, x-tollbridge-payer header, PAYMENT-SIGNATURE), and `url` as a public http(s) URL validated at registration. That is meaningful semantics absent from the schema.

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?

Names a specific verb+resource: 'register an outcome hook endpoint: a public http(s) URL that Tollbridge POSTs to when one of the payer's decisions settles'. This is unambiguous and clearly distinct from every sibling (leaderboards, blotter, risk, etc.), none of which manage webhooks.

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 operational context: register after paying, then poll /v1/resolutions/:id until horizon_end, and notes that re-registering the same URL inside its window replays without a second charge. It lacks explicit 'do not use this when…' guidance, but no sibling competes for this function, so the routing need is low.

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