Skip to main content
Glama

delete_campaign_templates_tool

Destructive

DESTRUCTIVE: permanently delete saved campaign templates by id, including teammates' templates the user can see under the team's campaign visibility settings. Ids the user cannot see are skipped, so deletedCount can be lower than requestedCount. Only call after the user has explicitly confirmed which templates to delete.

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": {
      "campaignTemplateIds": "<campaignTemplateIds>"
    },
    "name": "delete_campaign_templates_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignTemplateIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, it discloses the blast radius (teammates' templates under the team's visibility settings) and the partial-success semantics (invisible ids are skipped, so deletedCount can be lower than requestedCount). That is exactly the kind of behavior an agent cannot infer from annotations or schema.

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?

Three sentences, front-loaded with the DESTRUCTIVE marker, then scope, then the preconditions. No filler and nothing buried.

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 single-parameter destructive tool with no output schema, the description covers blast radius, silent-skip behavior, and the confirmation requirement. An agent has enough to decide when to call it and what to warn the user about.

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 schema description coverage at 0% and one parameter, the description must carry the semantics. It clarifies that ids are visibility-filtered and may be silently skipped, but says nothing about the array form or the 1–100 item bounds, which are only in the schema.

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?

The description states a specific verb and scope: "permanently delete saved campaign templates by id," and even clarifies that teammates' visible templates are in scope. It does not name a sibling (e.g. list_campaign_templates_tool) as the read alternative, so it stops short of full sibling differentiation.

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?

It gives an explicit precondition: "Only call after the user has explicitly confirmed which templates to delete." That is real when-to-use guidance. It offers no explicit when-not or named alternative, leaving the agent to infer that listing/reading is a separate tool.

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.