Skip to main content
Glama

get_chatgpt_ads

Read-only

The ads people on the team saw in ChatGPT for a client's tracked prompts, from the checks they recorded (no request to ChatGPT, no charge): per advertiser its ads, conversations and prompts, with its newest ad; per conversation the prompt, the date, whether the answer named the client and the ads shown with their turn and whether the answer named that advertiser; the four named-and-paid groups (free, rival, contested, open) counted over every conversation; the client's own ads and the conquest count. One country at a time.

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_chatgpt_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in whole UTC days. Default 28.
limitNoConversations returned, newest first, default 4, maximum 30.
countryNoISO 3166-1 alpha-2 country the checks were made from. Default: the country with most checks (the result's countries lists them).
clientIdYesClient id (from list_clients).
advertisersNoAdvertisers returned, default 6, maximum 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive and closed-world, so the bar is lower, and the description still adds meaningful behavior: 'no request to ChatGPT, no charge' tells the agent this reads pre-recorded checks and incurs no cost or latency. The listing of what is returned per advertiser and per conversation further characterizes the response. It stops short of stating ordering or error behavior beyond 'newest first' implied by the schema.

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?

Wait-not applicable; }, if this were a real field it would be scored on density: the text is a single semicolon-delimited sentence that front-loads the purpose and then enumerates the return shape. No sentence is filler, though the run-on form is hard to scan.

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 carries the full burden of describing return values, and it does so thoroughly by enumerating the per-advertiser, per-conversation and aggregate groupings plus the conquest count. The gap is that terms like 'the four named-and-paid groups (free, rival, contested, open)' are asserted without definition, leaving the agent to guess their meaning.

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%, so the schema already documents days, limit, country, clientId and advertisers with defaults and bounds; baseline 3 applies. The description adds only the 'one country at a time' constraint, which reinforces the country parameter but gives no extra semantics for the paging or advertiser-count parameters.

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 the specific resource and scope: ads seen in ChatGPT answers for a client's tracked prompts, drawn from recorded checks rather than live queries. Naming ChatGPT explicitly separates it from get_search_ads at the purpose level. It is a noun-phrase listing rather than a crisp verb statement, which keeps it just short of a 5.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus get_search_ads, get_ai_answer or get_ai_visibility_metrics; the agent must infer the choice from the name alone. The only operational constraint offered is 'One country at a time,' which governs a parameter rather than tool selection.

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