Skip to main content
Glama

Read ads in AI answers

read_ai_ads
Read-onlyIdempotent

Paid ads shown in ChatGPT Search answers for the latest or a chosen run: ad presence rate ("N of M ChatGPT answers"), advertisers with share and first/last seen, the ad share and best rank of the brand itself, text creatives (paged) and prompts that surface ads with competitor ads beside organic brand mentions. Only ChatGPT Search shows ads; other engines are not_applicable, never zero. Ads are paid placements: report them separately, never as citations, sources or a cause of visibility.

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": {
      "project_id": "<project_id>"
    },
    "name": "read_ai_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return; omit for the default page size.
cohortNocore is the scored prompts (the default); comparison is the prompts that also name a competitor, reported separately; all is both.core
cursorNoThe next_cursor a previous page returned.
engineNoRead one engine only; omit for every engine.
audit_idNoA run id (audit_id); omit for the latest run.
market_idNoA market id from get_project_business_context; omit for the default market. Markets are never pooled.
project_idYesA project id that list_projects returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "chatgpt_search",
      -  "gemini_consumer",
      -  "chatgpt",
      -  "gemini",
      -  "claude",
      -  "google_ai_overview"
      -]New value: +[
      +  "chatgpt_search",
      +  "gemini_consumer",
      +  "chatgpt",
      +  "gemini",
      +  "claude",
      +  "google_ai_overview",
      +  "google_ai_mode"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / engine / enum
      Previous value: -[
      -  "chatgpt",
      -  "claude",
      -  "gemini",
      -  "google_ai_overview",
      -  "chatgpt_search",
      -  "gemini_consumer"
      -]New value: +[
      +  "chatgpt_search",
      +  "gemini_consumer",
      +  "chatgpt",
      +  "gemini",
      +  "claude",
      +  "google_ai_overview"
      +]
  3. Changed6 schema fields changed
    • addedInput schema / properties / audit_id / description
      Added value: +"A run id (audit_id); omit for the latest run."
    • addedInput schema / properties / cohort / description
      Added value: +"core is the scored prompts (the default); comparison is the prompts that also name a competitor, reported separately; all is both."
    • addedInput schema / properties / engine / description
      Added value: +"Read one engine only; omit for every engine."
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / market_id / description
      Added value: +"A market id from get_project_business_context; omit for the default market. Markets are never pooled."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
  4. Changed1 schema field changed
    • changedInput schema / properties / cohort / enum
      Previous value: -[
      -  "core",
      -  "comparison"
      -]New value: +[
      +  "core",
      +  "comparison",
      +  "all"
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description does add real domain behavior: other engines yield not_applicable rather than zero, and ads must be reported separately from citations. It stops short of describing result volume or page-size behavior despite having a cursor, though the schema covers that.

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?

Purpose and return contents come first, then the engine caveat, then the reporting rule, which is a sensible front-loaded order. The first sentence is a dense enumerated list that is harder to scan than necessary, but every sentence carries distinct information.

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 seven parameters, a cohort/engine/cursor surface, and no output schema, the description does the necessary work by enumerating the returned entities and flagging the ChatGPT-Search-only rule. It is nearly complete; what is missing is any hint of result ordering or how the paged creatives relate to the presence summary.

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% and every parameter carries its own explanation, so the baseline is 3. The description adds only light framing ('latest or a chosen run' for audit_id, 'paged' for cursor, cohort separation of competitor prompts) without explaining field formats or interactions beyond the schema.

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 ('Paid ads shown in ChatGPT Search answers') and then enumerates exactly what a caller gets back: ad presence rate, advertisers with share and first/last seen, the brand's own ad share and best rank, creatives and prompts. It also draws a hard functional line against the organic-visibility siblings by insisting ads are 'never citations, sources or a cause of visibility'.

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 establishes the scope clearly: works on the latest run or an explicitly chosen one, and ads exist only on ChatGPT Search, so other engines return not_applicable rather than zero. That is strong contextual guidance, but it never explicitly routes the agent elsewhere (e.g. to visibility or source tools when the question is about organic citations), so the when-not-to-use side is inference only.

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