x402-micro-tollgate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP listen port | 8402 |
| PRICE | No | Network default USDC price | $0.001 |
| NETWORK | No | CAIP-2 network identifier | eip155:84532 |
| X402_PAY_TO | No | EVM receive address (live mode) | |
| GATED_PREFIX | No | HTTP paths that require payment | /v1 |
| UPSTREAM_URL | No | Your API origin (unset → mock) | |
| CDP_API_KEY_ID | No | CDP facilitator API key ID (required for live settlement) | |
| WAITLIST_EMAIL | No | Landing waitlist mailto | 2767111713@qq.com |
| PUBLIC_BASE_URL | No | Public https origin for Bazaar resource URLs | http://127.0.0.1:$PORT |
| X402_ENVIRONMENT | No | x402 environment (development or production) | development |
| CDP_API_KEY_SECRET | No | CDP facilitator API key secret (required for live settlement) |
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| server_infoA | Gateway status: mode, network, price, gatedPrefix, upstream. No payment required. |
| get_quoteA | Fetch a sample quote from the upstream API (mock when UPSTREAM_URL is unset). Requires payment of $0.001 USDC. |
| proxy_requestB | Forward method/path/query/headers/body to UPSTREAM_URL (or mock). Requires payment of $0.001 USDC. |
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 3 tools
Each tool serves a completely distinct function: server_info provides gateway status, get_quote fetches a sample quote, and proxy_request forwards requests. No overlap or ambiguity between them.
All tools use lowercase snake_case with clear verb_noun or noun_verb patterns (server_info, get_quote, proxy_request). The naming style is uniform and predictable.
With 3 tools, the set is well-scoped for a micro-tollgate gateway. Each tool earns its place: info, quote, and proxy access. No surplus or deficiency for the stated purpose.
The tool surface covers the core workflow: inspect gateway state, request a quote, and proxy an authenticated request. There are no obvious dead ends or missing operations for this narrow domain.