Skip to main content
Glama

ads_campaign_archive

DestructiveIdempotent

Archive a campaign: it stops delivering and is hidden from the network's default views. Meta only; Google Ads answers 501. Returns the campaign plus updated; when it was already in that state nothing is sent and the answer carries updated: false with a skipped_reason.

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

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id: the Postproxy id (id field of a campaign), not the network's platform_id
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: platform gating with a specific 501 error, the idempotent short-circuit where nothing is sent and the response carries updated: false with a skipped_reason, and the returned payload. This is the kind of context the destructiveHint and idempotentHint flags alone cannot convey.

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?

Front-loads the action and effect in a single tight passage with no filler. The phrasing around the return value ('Returns the campaign plus updated') is slightly garbled, which costs a point on clarity.

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?

Covers the gaps that matter for a mutating, idempotent tool: platform applicability, no-op behavior, and response fields, with no output schema present to rely on. Nothing essential is missing for correct invocation.

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 both campaign_id (Postproxy id, not platform_id) and profile_group_id are already documented in the schema. The description adds no parameter-level meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Archive a campaign') and explains the effect: delivery stops and it is hidden from the network's default views. It does not explicitly distinguish archive from siblings like ads_campaign_pause or ads_campaign_delete, leaving the agent to infer the difference from the effect wording.

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 conditions: Meta only, and Google Ads returns 501, which tells the agent when this tool will fail and for which platform. It also states the already-archived case short-circuits. It does not name alternatives (pause/delete) for when archiving is the wrong choice.

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.