Skip to main content
Glama

chatgpt_ads_campaigns_get

Read-only

Fetches a single ChatGPT Ads campaign with its status, objective, bidding, targeting, schedule and budget (amounts in micros), plus optional serving issues explaining why it is not delivering.

Instructions

Gets one ChatGPT Ads campaign. Returns the platform object unchanged: status, objective, bidding_type, billing_event_type, targeting, schedule and budget. Budget amounts are micros of the account currency (1,000,000 = one unit); do not read them as currency units. Read-only. Set include_serving_issues to see why a campaign is not delivering. To list campaigns use chatgpt_ads_campaigns_list.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "chatgpt_ads_campaigns_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id as the API returns it (e.g. 'cmpn_123'). Find it with the matching list tool.
include_serving_issuesNoAlso return serving_issues, the platform's reasons a campaign is not delivering. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so "Read-only" is redundant, but the description adds real behavioral value beyond the annotations: the return is the platform object unchanged, and budget values are in micros of the account currency with an explicit warning not to read them as currency units. It does not cover error behavior or permission requirements, which keeps it below a 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?

Short, front-loaded sentences that each carry information, with the return shape up front and the sibling routing at the end. The only waste is "Read-only," which merely echoes the annotation.

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 and only two well-documented parameters, the description supplies what matters: the returned field set, the micros-unit pitfall, and the opting-in behavior of serving issues. Nothing an agent needs in order to call it correctly is missing.

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 the schema already explains both campaign_id (with the 'cmpn_123' example and lookup hint) and include_serving_issues. The description's mention of the flag and of micros-denominated budget mostly restates or sits outside the parameter set, so it adds little meaning 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?

States a specific verb and resource ("Gets one ChatGPT Ads campaign") and immediately enumerates the returned fields (status, objective, bidding_type, billing_event_type, targeting, schedule, budget). It also explicitly contrasts with the list sibling, so an agent can distinguish it from chatgpt_ads_campaigns_list without opening either schema.

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

Usage Guidelines5/5

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

Names the alternative for the other common intent ("To list campaigns use chatgpt_ads_campaigns_list") and gives a concrete condition for flipping the optional flag ("Set include_serving_issues to see why a campaign is not delivering"). The routing decision is fully specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools