Skip to main content
Glama

campaigns_merge

Body {target: '<other_campaign_sqid>'} — moves every lead from this campaign into the target and marks the source cancelled. Useful when you realise two campaigns are essentially the same and want to avoid double-emailing.

Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/merge/

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": {
      "sqid": "<sqid>",
      "target": "<target>"
    },
    "name": "campaigns_merge"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
targetYessqid of the campaign to merge into

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the two key side effects – leads are moved and the source campaign is marked cancelled – which is the most important thing here. It omits irreversibility, required permissions, preconditions (e.g. whether the source may be active or paused) and what happens to already-queued messages, so a mutation tool remains partly opaque.

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?

Effect and motivation are front-loaded in one tight sentence, and the endpoint line is a useful addition. The leading `Body {target: ...}` fragment largely restates the schema and is the one piece of redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive merge with no annotations and no output schema, the description covers the what and the why but says nothing about safety preconditions, permissions, or post-merge state of the source campaign beyond 'cancelled'. Adequate to call it, not fully complete for an irreversible-feeling operation.

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 coverage is only 50%, and the description compensates by identifying the implicit `sqid` as 'this campaign' (the source) and clarifying `target` as another campaign's sqid. That is real added meaning for the undocumented parameter, though the path template also references a `workspace_sqid` that the schema does not model, 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 every lead from this campaign into the target and marks the source cancelled') and spells out the observable effect of the operation. That effect also separates it from the plain cancellation sibling, so an agent can pick it without opening any schema.

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 a concrete when-to-use scenario: two campaigns are essentially the same and you want to avoid double-emailing. It stops short of stating when not to use it or naming a named alternative (e.g. campaigns_cancel), so it is clear context rather than full routing guidance.

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.