Skip to main content
Glama

chatgpt_ads_ads_archive

Destructive

Permanently archive a ChatGPT Ads ad; archiving is irreversible with no restore option. To halt spend reversibly, pause the ad instead.

Instructions

Archives one ChatGPT Ads ad, 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_ads_pause instead.

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_id": "<ad_id>"
    },
    "name": "chatgpt_ads_ads_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesAd id as the API returns it (e.g. 'ad_123'). Find it with the matching list tool.
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.
decision_idNoA proposed decision this change carries out.

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 only declare readOnlyHint=false and destructiveHint=true; the description goes further by stating there is no platform restore and no recorded reversal, that the call mutates the account, and that it returns the updated object with status 'archived'. What is missing is any note on failure modes or whether child entities are affected.

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. Every sentence adds a distinct fact: destructiveness, return shape, mutation side effect, and the alternative tool.

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?

For a destructive mutation with no output schema, the description covers the essentials: consequences, return value, and alternative. It omits operational detail such as authentication or approval requirements for the destructive action, which would help given the approval sub-object 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%, with ad_id, reason, approval, expected, and decision_id all documented in the schema itself. The description adds no parameter-level detail beyond what is already structured, so the baseline of 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?

States a specific verb and resource ('Archives one ChatGPT Ads ad') with explicit scope and irreversibility. It also differentiates itself from the pause sibling, so an agent can pick the right tool 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 explicitly ('To stop spending reversibly use chatgpt_ads_ads_pause instead') along with the condition that selects it. The contrast between permanent archive and reversible pause is exactly the routing decision an agent needs.

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