Skip to main content
Glama

Update campaign settings

update_campaign
Idempotent

Change campaign settings; only the fields you send change. name; mailbox_ids (only while not running: pause first); prospect_ids (audience, drafts only); daily_enroll_limit (integer >= 1 or null); timezone (IANA, e.g. Europe/Warsaw, or null); use_prospect_timezone; schedule ({start_hour, end_hour, send_days: 0=Sunday..6} or null to inherit the workspace schedule).

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": "update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).
nameNo
scheduleNo
timezoneNo
mailbox_idsNo
prospect_idsNo
daily_enroll_limitNo
use_prospect_timezoneNo

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?

Annotations already establish that this is a non-destructive, idempotent write with no open-world access. The description adds meaningful behavior beyond that: only supplied fields change, certain fields are blocked while the campaign is running, and null has explicit inherit semantics for schedule. It does not describe authentication requirements or error responses, keeping it short of a 5.

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?

The definition is front-loaded with the core partial-update rule, then enumerates fields compactly. Semicolon-delimited fragments are dense but appropriate for a parameter-heavy update tool. Minor awkwardness comes from the bare "name;" fragment, but there is little wasted wording.

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?

Given eight parameters, 13% schema coverage, and no output schema, the description does a strong job covering field semantics and conditional constraints. Annotations handle the safety profile. What remains missing is response or error behavior, such as what happens if a restricted field is sent while the campaign runs, but the definition is otherwise complete enough to invoke correctly.

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

Parameters5/5

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

Schema description coverage is only 13%, so the description carries most of the parameter burden and does so effectively. It documents name, mailbox_ids with its running-state restriction, prospect_ids with its drafts-only scope, daily_enroll_limit as integer >= 1 or null, timezone as IANA or null, use_prospect_timezone, and the schedule object's start_hour, end_hour, and send_days encoding. This adds substantial meaning beyond the sparse 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 opens with a specific verb and resource: "Change campaign settings," which clearly identifies the operation and distinguishes it from the update_* siblings targeting mailboxes, prospects, steps, and variants. It also states the key partial-update behavior immediately. Explicit sibling routing is absent, but the resource naming is sufficient for disambiguation.

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 gives actionable conditions rather than generic guidance: mailbox_ids can only change while the campaign is not running, so the agent must pause first; prospect_ids applies only to drafts. It also explains that null for schedule means inheriting the workspace schedule. It does not explicitly say when to use update_campaign versus pause_campaign or start_campaign, but the embedded prerequisites cover the main usage traps.

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.