Skip to main content
Glama

Storiez

Undo last campaign change

undo-campaign-adjust
Destructive

Reverts the most recent adjust-campaign change; each call goes one change further back. Not available after launch.

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": {
      "id": "<id>"
    },
    "name": "undo-campaign-adjust"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe campaign ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds real value beyond that by disclosing the LIFO stacking behavior and a lifecycle precondition (unavailable after launch). It doesn't say what happens when there is nothing left to undo, which is the main remaining behavioral gap.

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?

Two tight clauses, no filler, and the core action is front-loaded ahead of the stacking behavior and the availability caveat. Every sentence carries information an agent would otherwise have to guess.

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 one-parameter, no-output-schema mutation tool, the definition covers action, scope, sequencing, and availability. The only material omission is failure behavior when no undoable change remains, which is a modest gap given the tool's simplicity.

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?

With a single parameter at 100% schema coverage, the schema already documents 'id' as the campaign ID and the description does not touch on it. Baseline 3 is appropriate since the description neither adds nor is expected to add parameter meaning here.

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 names a specific action (reverts) tied to a specific resource and predecessor operation (the most recent adjust-campaign change), so the agent can tell it apart from adjust-campaign itself. It also conveys the scope of a single call: one change step backward.

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?

The description makes clear usage explicit through 'most recent adjust-campaign change' and gives an important when-not condition: 'Not available after launch.' It also clarifies repeated use is supported ('each call goes one change further back'), but it names no alternative for cases where undo is unavailable or exhausted.

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