Skip to main content
Glama

Capped provider call

brake_call
Destructive

Call Mapbox, HERE, Twilio, or a custom API through the Spend Brake proxy so each request is priced and blocked before it exceeds your spend cap.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "provider": "<provider>",
      "method": "<method>",
      "path": "<path>"
    },
    "name": "brake_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body. Pass the value, not @file.
pathYesPath on the provider, starting with /
queryNoQuery parameters
methodYes
headersNoExtra headers. X-Brake-* is refused; the key comes from BRAKE_KEY.
providerYesProxy prefix: google-maps, google-places, google-routes, mapbox, brave, tavily, exa, serpapi, twilio, twilio-verify, here-geocode, here-revgeocode, here-discover, here-autosuggest, here-autocomplete, here-router, here-matrix, or custom/<id>

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, destructiveHint=true, and non-idempotent, so the safety profile is covered. The description contributes information not in the annotations: billing impact against the spend cap, the risk of selecting an expensive SKU, and an explicit capability boundary ('No file reads'). It does not describe error/refusal behavior or what comes back.

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?

Four compact sentences with no filler; the cost/cap warning and the 'prefer named tools' guidance are the load-bearing parts. The provider enumeration in the first sentence is somewhat verbose and partially duplicates the provider parameter's enum, but it usefully signals breadth of coverage upfront.

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 destructive, open-world, non-idempotent passthrough with no output schema, the description covers cost and scope but says nothing about the response shape, error/refusal semantics, or what 'X-Brake-* is refused' means for the caller. The spend-cap and SKU context is strong, but an agent still cannot predict what it gets back.

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 83%, so the schema already documents body, path, query, headers, and the provider list with its custom/<id> form. The description's only added signal is the custom/<id> provider pattern, which also appears in the schema. That places it at the baseline for a well-documented schema.

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 establishes this as a generic priced-proxy request and enumerates the exact surfaces it covers (Mapbox, HERE, Twilio, Tavily extract, Exa contents, custom/<id>). It distinguishes itself from the named search/maps tools by positioning itself as the fallback for calls those tools 'do not cover'. What is implied rather than stated is the core mechanic (an arbitrary HTTP method+path+body sent through the proxy), which the reader infers from the enumeration.

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?

Explicit routing guidance: 'Prefer the named search and maps tools, which default to the cheap field set' tells the agent when NOT to use this, and 'a Maps call the named tools do not cover' tells it when to. The cost warning ('can select an expensive SKU', 'Charged against the spend cap') is a genuine decision input. It stops short of a hard exclusion rule or naming the specific sibling tools that should be preferred in each case.

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