Skip to main content
Glama

move_campaigns_to_folder

Destructive

Moves one or more campaigns, by their ids from list_campaigns_tool, into a folder by its folderId, or out of any folder with folderId null. A campaign sits in one folder at most, so this takes it out of the folder it was in. It only changes where the campaigns show on the Sequences page: they keep running and sending as before.

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": {
      "campaignIds": "<campaignIds>",
      "folderId": "<folderId>"
    },
    "name": "move_campaigns_to_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderIdYes
campaignIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 mutating nature is covered. The description adds genuinely non-obvious context beyond that: a campaign sits in at most one folder so the move is implicitly a replacement, and the operation is display-only — campaigns keep running and sending. It stops short of describing failure modes or what happens if a folderId is invalid or missing.

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, each earning its place, with the action and both parameter behaviors front-loaded before the clarifying note on side effects. No restatement of the title or schema, and no filler.

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 two-parameter tool with no output schema, the definition covers the action, both parameters' edge cases, and the key side-effect boundary. What's missing is limited to error behavior and the multiplicity cap, which the schema partly implies via maxItems 100.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description has to compensate and largely does: it explains that folderId null means removal, that folderId is the target folder, and that campaignIds are campaign IDs sourced from list_campaigns_tool. It does not mention the 100-item cap on campaignIds or that folderId must reference an existing folder, leaving a small gap.

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?

Names a specific verb and resource ("moves ... campaigns") plus the destination entity (folder), and scopes it to campaigns rather than prospect lists or signal monitors. The description also distinguishes add/remove semantics via folderId null, so an agent can tell it apart from the sibling move_prospect_lists_to_folder and move_signal_monitors_to_folder tools.

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 explicit preconditions for invocation: campaign IDs come "by their ids from list_campaigns_tool," and passing folderId null removes the campaign from any folder. It doesn't name a when-not-to-use case or warn that the folderId must already exist, which keeps it short of a 5.

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.