Skip to main content
Glama

chatgpt_ads_campaigns_archive

Destructive

Irreversibly archives a single ChatGPT Ads campaign, with no restore or reversal; use the pause action instead when you need reversible spend control. Ad groups and ads must be archived separately.

Instructions

Archives one ChatGPT Ads campaign, 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_campaigns_pause instead. Its ad groups and ads are not archived with it; archive them one by one.

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_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.
campaign_idYesCampaign id as the API returns it (e.g. 'cmpn_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.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the bar is lower, but the description adds the details annotations cannot express: the platform has no restore, mureo records no reversal, the operation mutates the account, and the return value is the updated platform object with status archived. The non-cascading behavior to children is a genuinely important disclosure for a destructive call.

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?

Four short sentences, front-loaded with the irreversible nature of the operation, then the return value, then the safer alternative, then the child-resource caveat. No filler and no repetition of the schema.

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 destructive mutation with no output schema, the description covers reversibility, account impact, return shape, safer alternative, and cascade behavior. The governance parameters (reason, approval, expected, decision_id) are fully specified in the schema, so nothing an agent needs 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 campaign_id, reason, approval, expected, and decision_id are each documented in the schema. The description adds nothing about those parameters beyond implying a single campaign is targeted; baseline 3 is appropriate when the schema carries the full burden.

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?

The description opens with a specific verb and resource ('Archives one ChatGPT Ads campaign') plus a scope qualifier ('one'), and immediately distinguishes it from the reversible sibling chatgpt_ads_campaigns_pause. An agent can identify the operation without opening 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?

It names the alternative explicitly ('To stop spending reversibly use chatgpt_ads_campaigns_pause instead') and states the condition selecting each path. It also gives a second routing rule for child resources: ad groups and ads are not archived with the campaign and must be archived one by one.

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