Skip to main content
Glama

get_chatgpt_ads

Read-onlyIdempotent

Read the current user’s ChatGPT ad drafts, campaigns and results: status, budget, fees, spend, impressions, clicks, CTR, CPC and CPM. Includes account availability and draft approval quotes. Set refresh=true to fetch the latest provider report; reporting is daily, not real time. Null results mean no report yet. Paginate with nextOffset. Translate errorCode into the user’s language.

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": "get_chatgpt_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoCampaigns per page, 1–25. Default 25.
offsetNoPagination offset; use nextOffset from the previous response. Default 0.
refreshNoFetch the latest provider report first (daily, not real time). Default false.
campaignIdNooriiion campaign ID returned by these tools, never an external account/ad ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / campaignId / description
      Added value: +"oriiion campaign ID returned by these tools, never an external account/ad ID."
    • addedInput schema / properties / limit / description
      Added value: +"Campaigns per page, 1–25. Default 25."
    • addedInput schema / properties / offset / description
      Added value: +"Pagination offset; use nextOffset from the previous response. Default 0."
    • addedInput schema / properties / refresh / description
      Added value: +"Fetch the latest provider report first (daily, not real time). Default false."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds behavior the annotations cannot convey: reporting is daily rather than real time, null results mean no report exists yet, refresh triggers a provider fetch before returning, and errorCode should be translated for the user. These are exactly the non-obvious traits that change how an agent interprets and retries results.

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?

Five short sentences, front-loaded with scope and followed by operational caveats in descending order of importance. Every clause carries information an agent needs; there is no restatement of the tool name or filler.

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 return-value burden and does so by listing the metric and object types returned. Pagination, freshness semantics, null handling, and error translation are all covered; only minor gaps remain (no enumeration of errorCode values, no note on how campaignId narrows the response).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining what refresh=true actually does and its daily-reporting caveat, and by tying offset to nextOffset from the prior response. It does not add meaning for campaignId (the schema's note that it is an internal 'oriiion' ID, never an external ad ID, is left to the schema) or for the limit cap.

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 ('Read') and a precisely scoped resource ('the current user's ChatGPT ad drafts, campaigns and results'), then enumerates the exact data domains returned: status, budget, fees, spend, impressions, clicks, CTR, CPC, CPM, plus account availability and draft approval quotes. This separates it cleanly from the mutation siblings (create/edit/pause/start/end_chatgpt_ad) and from the google_ads_* read tools, which cover a different platform.

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?

Gives concrete operational guidance: set refresh=true only when the latest provider report is needed, and paginate with nextOffset. It does not name an explicit alternative or state a when-not condition (e.g., use get_analytics_overview for cross-channel metrics), so routing between read tools is still partly inferred from the platform name.

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