Spend Brake
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BRAKE_KEY | Yes | The revocable virtual key (e.g. sb_live_…) that authenticates requests and enforces caps when the MCP server sends searches through the Spend Brake proxy. | |
| BRAKE_URL | No | The URL of the Spend Brake proxy that all MCP searches are routed through. | https://proxy.spendbrake.dev |
| BRAKE_API_URL | No | The URL of the Spend Brake admin API. | https://app.spendbrake.dev |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Every tool except brake_budget is charged against a hard dollar cap. When a tool answers with STOP, do not retry and do not switch to another tool: the same caps apply to all of them. Tell the user and ask them to raise the cap. A call that timed out may already have been forwarded and charged: check brake_budget before calling again. Prefer the named search and maps tools over brake_call; their defaults are the cheap SKUs, and a wider field mask or a deeper search costs more.
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 |
|---|---|
| tavily_searchA | Search the web with Tavily. Each call is charged against a hard spend cap; the result shows its cost and the budget left. basic depth is the cheap default. |
| exa_searchA | Search the web with Exa. Each call is charged against a hard spend cap; the result shows its cost and the budget left. type auto is the default; lite and instant are cheaper. |
| brave_searchB | Search the web with Brave. Each call is charged against a hard spend cap; the result shows its cost and the budget left. |
| serpapi_searchA | Search with SerpApi. Each call is charged against a hard spend cap; the result shows its cost and the budget left. engine defaults to google. |
| maps_searchB | Places Text Search. Default field mask places.id,places.name (IDs only, the free tier). A wider mask costs more. |
| maps_nearbyA | Places Nearby Search around a point. Default field mask places.id,places.displayName,places.formattedAddress,places.location (Pro). A wider mask costs more. radius defaults to 500 metres. |
| maps_detailsB | Place Details. Default field mask id,formattedAddress,location,types (Essentials). A wider mask costs more. |
| maps_geocodeB | Address to coordinates (Geocoding API). Charged against the spend cap. |
| maps_reverseA | Coordinates to an address (Geocoding API). Charged against the spend cap. |
| maps_routeA | Route between two places. Default field mask routes.duration,routes.distanceMeters (Essentials). mode defaults to drive. A wider mask costs more. |
| brake_callA | Any capped request the proxy prices: Mapbox, HERE, Twilio, Tavily extract, Exa contents, a custom API (provider "custom/"), or a Maps call the named tools do not cover. This can select an expensive SKU. Prefer the named search and maps tools, which default to the cheap field set. Charged against the spend cap. No file reads. |
| brake_budgetA | Show the spend caps that apply to this key and what is left of each. Read-only: it cannot change a cap. Org, environment and SKU caps also apply and are not listed. |
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 12 tools
The maps tools (maps_search, maps_nearby, maps_details, maps_geocode, maps_reverse, maps_route) are cleanly separated by operation, but the four web search tools (tavily, exa, brave, serpapi) perform the same action with only provider and pricing differences, forcing the agent to choose on cost rather than capability. brake_call is an explicit catch-all that duplicates every other tool, and only the 'prefer the named tools' note keeps it from being a free-for-all.
Names follow a predictable prefix_action scheme: provider_search for web search, maps_* for the place APIs, brake_* for proxy control. Minor deviation in that some names are noun-only (maps_details, maps_budget-style) rather than verb_noun, but the grouping remains readable and unambiguous.
Twelve tools is a well-scoped size for a multi-provider proxy. The only soft redundancy is the four near-identical search tools, which is a deliberate design choice (provider choice) rather than surface bloat.
The surface covers search, core Places/Geocoding/Routes operations, budget visibility, and a generic brake_call escape hatch for Mapbox, HERE, Twilio, Tavily extract, and custom APIs. Gaps are modest: no tool to modify or request a cap increase, no usage-history/spend-log tool, and named wrappers for extract/contents exist only via brake_call.