Skip to main content
Glama

create_campaign_template_tool

Save an existing campaign (its sequence steps, sending schedule, source lists and topic) as a new reusable template under a given name.

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": {
      "campaignId": "<campaignId>",
      "campaignTemplateName": "<campaignTemplateName>"
    },
    "name": "create_campaign_template_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesThe campaign _id (24-character Mongo id) to save as a template
campaignTemplateNameYesName for the new campaign template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive write to a closed system. The description adds genuine value by disclosing which campaign data gets copied into the template. It does not say whether the source campaign is left untouched, whether template names must be unique, or what happens on a duplicate name — useful details for a write operation.

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?

A single well-formed sentence that front-loads the action and the resource, with the copied contents in a compact parenthetical. No filler, though it is the only sentence and could have carried one more routing clause at no length cost.

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?

With only two required flat parameters, no output schema, and annotations covering the safety profile, the definition covers what an agent needs to invoke it correctly. The remaining gap is side-effect/error semantics (source campaign immutability, name collisions), which is minor for this complexity.

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 coverage is 100% and both parameters carry descriptions (24-character Mongo _id, template name), so the schema does the heavy lifting. The description reinforces that campaignId must reference an *existing* campaign whose contents are snapshotted, but adds no format or constraint detail beyond 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 uses a specific verb ('Save... as a new reusable template') and a precise resource, and it enumerates exactly what is captured (sequence steps, sending schedule, source lists, topic). That scope makes it distinguishable in spirit from duplicate_campaign_tool or list_campaign_templates_tool, but no sibling is named explicitly, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative named. The word 'reusable' hints at the motivating scenario, but an agent must infer that this is the right call versus duplicate_campaign_tool or list_campaign_templates_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.

Resources