Skip to main content
Glama

Google AI Mode

ai_mode
Read-onlyIdempotent

Ask Google AI Mode and get its answer with cited sources and products. 2 credits; takes 5-45 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": "ai_mode"
  }
}

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description does add genuinely non-obvious operational context — credit cost, 5-45 s latency, and free-on-failure billing — which is real value beyond the annotations. It does not describe result shape or rate limits, so it is solid but not rich.

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 compact clauses with zero filler: the action/return statement is front-loaded, followed by the cost, latency and failure-billing facts. Every sentence earns its place.

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 correctly sketches the return ('answer with cited sources and products'), and the schema fully documents the six inputs. The one real gap is positioning against sibling AI/answer tools, which matters for a six-tool-deep AI-answer category.

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 coverage is 100% and every parameter carries a substantive description (track semantics, country effects on prices/shops, timeout_ms behavior), so the schema does the heavy lifting. The description contributes nothing about parameters, making the baseline 3 correct.

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 provider surface ('Ask Google AI Mode') and states the deliverable ('answer with cited sources and products'), which distinguishes it in substance from generic `search` or `answer` siblings. It stops short of explicitly contrasting itself with the other AI-chat siblings (chatgpt, gemini, copilot, brave_ai), so the differentiation is implied by the provider name rather than stated.

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 when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The cost and latency figures ('2 credits; takes 5-45 s') implicitly steer an agent toward lighter tools for cheap/fast lookups, but the agent must infer that tradeoff itself.

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.