Skip to main content
Glama

Brave search (capped)

brave_search

Search the web via Brave while enforcing a hard spend cap; each query returns its cost and remaining budget.

Instructions

Search the web with Brave. Each call is charged against a hard spend cap; the result shows its cost and the budget left.

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": {
      "query": "<query>"
    },
    "name": "brave_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of results
queryYesWhat to search for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the non-free, non-repeatable character is partly covered structurally. The description adds genuinely useful context beyond that: each call is charged against a hard spend cap and the response reports cost and remaining budget. It still omits what happens when the cap is exhausted and which key the description says budget lives under.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing: the first names the operation, the second discloses cost and budget reporting. Nothing is repeated and the cost implication is front-loaded rather than buried.

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 2-parameter paid tool with no output schema, the description covers cost and that the result includes cost and remaining budget, which is the most important missing piece. It still leaves the agent guessing about result content (titles, URLs, snippets), whether cost depends on count, and the failure mode when the cap is hit.

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 100% for both parameters (query, count with 1-20 range), so the schema already carries the parameter meaning. The description adds nothing about query syntax, result-count defaults, or cost scaling with count, so it earns only the baseline.

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?

States a specific verb and resource: 'Search the web with Brave.' An agent immediately knows the operation and the provider. However, it does not distinguish itself from the sibling search tools (exa_search, serpapi_search, tavily_search), so the provider-level differentiation is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the sibling search providers that clearly exist. The only usage-relevant signal is the spend cap warning, which hints at cost-sensitivity but does not tell an agent when to pick Brave over the alternatives.

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