Skip to main content
Glama

get_search_ads

Read-only

Who advertises on a client's tracked keywords, read from the results pages the Rank Tracker already stored (no new search, no charge): per advertiser the checks it was seen on of all checks in the window, text ads above or below the organic results, whether it is new or stopped against the previous window, its newest ad copy and sitelinks, and the products of its Shopping ads; per keyword how many checks had ads and who; ads on the client's branded keywords; the client's own ads. Needs the Rank Tracker and the Ads area.

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": {
      "clientId": "<clientId>"
    },
    "name": "get_search_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOnly keywords containing this text.
tagNoOnly keywords with this tag.
daysNoWindow in whole UTC days. Default 28.
brandNoOnly keywords that name the client's brand terms, or only those that do not.
limitNoAdvertisers returned, default 4, maximum 20. The result says how many were seen.
columnNoThe list to read: engine.device.organic, e.g. google.desktop.organic. Default: the first the client has (the result's columns lists them).
clientIdYesClient id (from list_clients).
keywordsNoKeywords returned, default 6, maximum 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; beyond that the description adds genuinely useful behavior: the data is pre-stored (no new search, no charge) and the tool depends on two feature areas being enabled. It does not describe failure behavior when those areas are off or any rate/volume limits, keeping it below 5.

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?

The content is densely packed into a single run-on sentence, but the scope ('who advertises on tracked keywords, no charge') is front-loaded and every clause carries information. Slightly better segmentation of the per-advertiser vs per-keyword returns would improve scanability.

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

Completeness5/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 carries the full burden of explaining returns, and it does: per-advertiser checks seen, ad position, new/stopped status, ad copy, sitelinks, Shopping products, plus per-keyword ad counts, branded keywords, and the client's own ads. Prerequisites and data source are also covered, leaving nothing an agent needs before calling.

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 every parameter is already documented, establishing a baseline of 3. The description adds context for the window sematics ('checks in the window', 'against the previous window') but gives no insight into how limit/keywords/column shaping works beyond what the schema says.

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 resource (who advertises on a client's tracked keywords) and its data source (results pages already stored by Rank Tracker), so an agent can tell it apart from adjacent ad tools. 'No new search, no charge' further pins down that it reads existing data rather than triggering a crawl.

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?

Prerequisites are stated explicitly ('Needs the Rank Tracker and the Ads area'), and 'read from the results pages the Rank Tracker already stored' tells the agent this is a retrospective read, not a fresh scan. It stops short of naming when to prefer it over sibling ad tools such as get_chatgpt_ads, so it does not reach a full 5.

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.

Resources