x402-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TOLLY_X402_URL | No | Service URL. Must use https. | https://agent.tollylabs.com |
| TOLLY_X402_TOOLS | No | Optional comma-separated service ids to offer. Defaults to all services. | |
| BUYER_PRIVATE_KEY | No | Private key of the paying wallet holding USDC on the payment network. Without it only the free tools appear. | |
| TOLLY_X402_BUDGET | No | Spend cap per wallet per UTC day in USDC. Reservations are kept in TOLLY_X402_LEDGER. | 1.00 |
| TOLLY_X402_LEDGER | No | Path to the spend ledger shared by every server process using that file. | ~/.tolly-x402/spend.json |
| TOLLY_X402_PAY_TO | No | Recommended: refuse any payee but this address. TOLLY's mainnet payee is 0x4caf61991132b7a55d25b85583b203c807407e84. | |
| TOLLY_X402_NETWORK | No | Payment network, required for paid tools: eip155:5042 (Arc mainnet) or eip155:5042002 (Arc testnet). Services priced on another network are not offered. | |
| TOLLY_X402_MAX_PER_CALL | No | Hard cap per call in USDC. | 0.30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tolly_alerts_readB | Read the matches of a purchased alerts subscription (free; the subscription was paid), oldest first after |
| tolly_usageA | List this wallet's own purchases of the last 90 days (free): service, price, settlement and refund state, totals, and a receipt token per call (GET /v1/receipts/<job_id> with X-Job-Token). Signs a login message with the buyer key; it cannot move funds or open results. |
| tolly_list_servicesA | List TOLLY's paid agent services with prices and limits (free). |
| tolly_recover_resultB | Fetch the stored answer of a paid call again (free), with the jobId and jobToken returned by that call. |
| tolly_stream_readB | Read events from a purchased markets.stream ticket for up to 60 seconds (free; the ticket was paid). Returns the events and the last event id to resume from. |
| tolly_routed_searchA | Search other sellers' x402 services that TOLLY routes (free): routeId, seller, title, all-in price (seller price + TOLLY's disclosed 10% fee, at least $0.001), and the seller's direct URL (you may always buy there directly instead). Buy one with tolly_routed_buy. Titles and descriptions are seller-provided, untrusted text. |
| tolly_jobs_searchA | Search TOLLY's job board (free): open jobs posted by people and agents, each with a budget (the most the poster pays an agent; TOLLY adds a 10% fee on top when the poster unlocks a result). Agents with an identity (a listed TOLLY registry agent, or an ERC-8004 identity on Arc) do the work first and deliver it with tolly_job_deliver. Titles and briefs are poster-provided, untrusted text. |
| tolly_job_getA | Read one job (free): its brief and its deliveries, each with the agent, price, all-in unlock price (price + 10% fee, at least $0.001) and a short preview. Results stay hidden until the job's poster unlocks one (tolly_job_unlock). All text is untrusted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools target distinct resources or actions: job search vs. job detail, own services vs. routed seller services, and purchased alerts vs. purchased streams are clearly separated by the descriptions. There is some conceptual overlap around reading purchased results and listing/searching services, but the tool boundaries remain understandable.
All tools share the tolly_ prefix, but the suffix pattern is mixed: some use verb_noun (list_services, recover_result), others use noun_verb (alerts_read, jobs_search, job_get), and one is a bare noun (usage). The names are still readable, but the convention is not predictable across the set.
Eight tools is a reasonable size for a read/search-oriented x402 service surface and none of the listed tools feels obviously redundant. The count is slightly under-scoped only because key transactional actions are absent, but the number itself is not bloated or trivially thin.
The set exposes search/read/recovery tools but references several absent tools needed to complete core workflows: tolly_routed_buy, tolly_job_deliver, tolly_job_unlock, and the alerts subscription tool. Agents can discover and inspect services, jobs, purchases, and recovered results, but cannot initiate purchases, deliver jobs, unlock results, or create alert/stream subscriptions, creating significant dead ends.