Skip to main content
Glama

chatgpt_ads_ad_groups_archive

Destructive

Archive a ChatGPT Ads ad group permanently when it must be retired; the action cannot be undone, so use the pause action instead to stop spending reversibly.

Instructions

Archives one ChatGPT Ads ad group, irreversibly: the platform has no restore, and mureo records no reversal, so it cannot be undone. Returns the updated platform object unchanged (status archived). Mutates the account. To stop spending reversibly use chatgpt_ads_ad_groups_pause instead. Whether the ad group's ads are archived with it is not documented.

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": {
      "ad_group_id": "<ad_group_id>"
    },
    "name": "chatgpt_ads_ad_groups_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.
approvalNoExternal approval this change carries out (recorded and shown, never verified)
expectedNoExpected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold.
ad_group_idYesAd group id as the API returns it (e.g. 'adgrp_123'). Find it with the matching list tool.
decision_idNoA proposed decision this change carries out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=false and destructiveHint=true; the description goes well beyond them by stating there is no platform restore and no recorded reversal, that the account is mutated, and what the call returns (the updated object with status archived). It also honestly flags an unknown — whether child ads are archived too — which is exactly the kind of gap an agent needs surfaced.

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?

Four short sentences, front-loaded with the destructive consequence before the alternative. 'Mutates the account' is largely redundant with destructiveHint and the return-value sentence is slightly awkwardly worded, but there is no padding.

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?

For a one-required-parameter destructive mutation with no output schema, the description covers reversibility, side effects, return shape, the safer alternative, and an explicit unknown. Nothing an agent needs in order to call it safely 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%, so the schema already documents ad_group_id, reason, approval, expected and decision_id in detail. The description adds no parameter-level guidance (e.g., how to obtain the id or when reason/approval are expected), so the baseline 3 applies.

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?

Opens with a specific verb and resource ('Archives one ChatGPT Ads ad group') and immediately scopes it as irreversible, which distinguishes it from the pause sibling. An agent can identify the operation and its consequence without reading the 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?

Explicitly routes the reversible case to chatgpt_ads_ad_groups_pause ('To stop spending reversibly use ... instead'), giving both the alternative and the condition that selects it. No inference is required to choose between archive and pause.

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