Skip to main content
Glama

ChatGPT Ads ads

chatgpt_ads_get_ads
Read-only

Ads with their creative (title, body, destination link), status and OpenAI's review result (and reason when rejected), optionally for one campaign or ad group.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chatgpt_ads_get_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return (default 100, max 500).
statusNoOnly records with this status, e.g. active, paused or archived.
accountIdNoThe ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out.
adGroupIdNoOnly this ad group (id from chatgpt_ads_get_ad_groups).
campaignIdNoOnly this campaign (id from chatgpt_ads_get_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing what fields come back, including the review result and rejection reason, which is not in any structured field. It stops short of pagination or volume behavior, though the limit parameter is documented in 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?

A single well-packed sentence with the resource and returned payload front-loaded and the optional scoping clause last. Nothing is redundant and no sentence fails to earn 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 five all-optional parameters, no output schema, and read-only annotations, the description covers the essentials: what records are returned, what fields they contain, and that filtering by campaign or ad group is optional. The remaining gaps — result ordering, pagination beyond the schema's limit, and the preconditions for an empty result — are minor.

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 including accountId, campaignId, adGroupId, status, and limit is already explained in the schema. The description only echoes the campaign/ad-group filtering, adding no syntax or cross-filter semantics beyond it. Baseline 3 is appropriate.

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 resource (ads) and enumerates the payload specifics — creative title/body/destination link, status, and OpenAI review result with rejection reason. That is far more precise than a bare 'get ads', and it implicitly separates this from siblings like chatgpt_ads_get_ad_groups and chatgpt_ads_get_campaigns by resource type.

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?

'Optionally for one campaign or ad group' signals the scoping behavior, so the agent can infer this is a filtered listing tool. However, there is no explicit guidance on when to prefer this over chatgpt_ads_ad_preview or the report tools, and no stated prerequisite such as needing a connected account.

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