Skip to main content
Glama

Ask Brave

brave_ai
Read-onlyIdempotent

Ask Brave Search's AI answer and get it with cited sources, the searches it ran and products. 2 credits; takes 1-10 s; free if it fails.

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": {
      "prompt": "<prompt>"
    },
    "name": "brave_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackNoBrands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)
promptYesThe message to the assistant (up to 4,000 characters)
countryNoAsk from this country, e.g. us, de, gb (answers, prices and shops follow it)
languageNoInterface language, e.g. en, de
locationNoCity-level location the answer is for, e.g. "Austin, Texas, United States"
timeout_msNoGive up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout"New value: +"Give up after this many milliseconds (default 118000) with a free upstream_timeout; set it under your tool-call timeout"
    • changedInput schema / properties / timeout_ms / maximum
      Previous value: -90000New value: +118000
  2. Changed1 schema field changed
    • addedInput schema / properties / timeout_ms
      Added value: +{
      +  "description": "Give up after this many milliseconds (default 90000) with a free upstream_timeout; set it under your tool-call timeout",
      +  "maximum": 90000,
      +  "minimum": 5000,
      +  "type": "integer"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "description": "City-level location the answer is for, e.g. \"Austin, Texas, United States\"",
      +  "type": "string"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Ask from this country, e.g. us, de, gb (answers, prices and shops follow it)",
      +  "type": "string"
      +}
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Interface language, e.g. en, de",
      +  "type": "string"
      +}
    • addedInput schema / properties / prompt
      Added value: +{
      +  "description": "The message to the assistant (up to 4,000 characters)",
      +  "type": "string"
      +}
    • addedInput schema / properties / track
      Added value: +{
      +  "description": "Brands or domains to check the answer for (mentions: named in the text, cited, listed as a source or product)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  5. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description goes further by disclosing billing (2 credits), expected latency (1-10 s), and the failure policy (free if it fails). It also states what the response contains: cited sources, the searches it ran, and products. Rate limits and auth requirements for the upstream service are not mentioned, which keeps it short of a 5.

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 tightly packed sentences with no filler. The core action comes first, followed by the operational facts (credits, latency, failure cost) an agent needs before committing to the call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description helpfully sketches the return payload (sources, executed searches, products). The timeout parameter's caveat about staying under the tool-call timeout is handled in the schema. What remains missing is guidance on when a synthesized answer beats a plain search among the many sibling tools.

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?

All six parameters are fully documented in the schema (100% coverage), so the description does not need to explain them and does not try. It adds nothing about prompt, country, location, or track beyond what the schema already provides.

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 names a specific verb and resource: asking Brave Search's AI for an answer, and it previews the response shape (cited sources, the searches it ran, products). It does not, however, distinguish this tool from near-siblings such as answer or ai_mode, so an agent must infer the difference from names alone.

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

Usage Guidelines3/5

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

There is no explicit 'use this when' statement or pointer to an alternative tool. The cost (2 credits) and latency (1-10 s) details implicitly tell the agent to reserve it for cases where a synthesized answer is worth the wait, but no exclusion criteria are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.