Skip to main content
Glama

search_google_ads

Read-only

Eigene GAQL-Abfrage (nur SELECT, Google Ads Query Language) fuer alles, was die anderen Werkzeuge nicht abdecken, z. B. Suchbegriffe (search_term_view) oder Zielgruppen. Liefert die Rohzeilen.

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": "search_google_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesGAQL-Abfrage (nur SELECT)
max_rowsNoMaximale Anzahl zurueckgegebener Zeilen
customer_idNoGoogle-Ads-Kundennummer (123-456-7890). Ohne Angabe die unter Google Ads hinterlegte.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / max_rows / description
      Added value: +"Maximale Anzahl zurueckgegebener Zeilen"
    • addedInput schema / properties / query / description
      Added value: +"GAQL-Abfrage (nur SELECT)"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description still adds real value beyond them: the query must be SELECT-only (writes are rejected) and the tool returns raw, unformatted rows, which matters because there is no output schema. It omits error behavior and pagination semantics.

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?

Two short sentences, front-loaded with what the tool is, then the scope rule and the return shape. The '(nur SELECT, Google Ads Query Language)' clause partially duplicates the schema's query description, but it is defensible as a hard constraint and does not bloat the text.

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 note that raw rows are returned is important and present, and all three parameters are fully documented in the schema. Remaining gaps are secondary: default value of max_rows, truncation behavior, and what happens with an invalid or non-SELECT query.

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%, so query, max_rows and customer_id are already documented with their formats, including the 123-456-7890 pattern and the default account fallback. The description adds only the SELECT-only restriction, which reinforces the query parameter but contributes no new meaning for max_rows or customer_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: a custom GAQL SELECT query against Google Ads. It also explicitly positions the tool as the fallback for cases the other tools do not cover, so an agent can tell it apart from the list_/get_/search_ siblings without opening any schema.

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?

It gives a clear selection rule ('fuer alles, was die anderen Werkzeuge nicht abdecken') plus concrete example resources (search_term_view, Zielgruppen), which is exactly the when-to-use signal an agent needs. It stops short of naming a specific sibling to prefer, so the exclusion is generic rather than fully routed.

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.