Skip to main content
Glama

ChatGPT Ads ad groups

chatgpt_ads_get_ad_groups
Read-only

Ad groups with their status and serving issues, optionally for one campaign.

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

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.
campaignIdNoOnly this campaign (id from chatgpt_ads_get_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/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 safety is covered. The description adds useful context that rows include status and serving issues, but says nothing about pagination behavior, default limits, or result shape.

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?

It is a single compact sentence with the resource and key returned attributes front-loaded and no wasted words. It reads as a noun-phrase fragment rather than a complete statement, but efficiency is high.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, zero-required read tool with no output schema, the description is adequate but thin: it mentions returned fields and the campaign filter, yet omits the default/max limit behavior and status filtering described in the schema.

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 the schema already documents limit, status, accountId, and campaignId. The description only echoes the optional campaign filter, adding no syntax or format detail beyond what the schema supplies; baseline 3 applies.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names the resource (ad groups) and the attributes surfaced (status and serving issues), so the agent can infer a read/list operation. However, there is no explicit verb and no differentiation from siblings such as chatgpt_ads_get_campaigns or chatgpt_ads_get_ads, leaving the action implied rather than stated.

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?

"Optionally for one campaign" hints that a campaignId can scope results, but there is no explicit when-to-use guidance, no exclusions, and no routing to alternatives. The agent must infer the use case entirely.

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