Skip to main content
Glama

update_campaign

DestructiveIdempotent

Update a campaign (partial; empty values are NOT cleared — list a column in clear_fields to blank it). status: draft|active|paused|completed.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the campaign
notesNoFree-text notes
statusNoNew status
end_dateNoEnd date (YYYY-MM-DD)
owner_idNoID of the owner (user)
from_nameNoSender display name
script_idNoID of the script
bcc_emailsNoBlind-copy archive for EVERY send of this campaign — array or comma-separated string. Set as a real BCC, never appended to 'to'. Put it here rather than on each call: a call parameter can be forgotten, a campaign field cannot. Pass bcc_emails in clear_fields to switch the archive off.
from_emailNoSender email address
start_dateNoStart date (YYYY-MM-DD)
campaign_idYesID of the campaign to change
descriptionNoDescription of the campaign
clear_fieldsNoColumn names to set to NULL (opt-in clear).
email_signatureNoE-mail signature used for this campaign's mails
daily_call_targetNoNumber of calls planned per day (integer)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / bcc_emails / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / bcc_emails / type
      Added value: +[
      +  "array",
      +  "string"
      +]
  2. Changed13 schema fields changed
    • addedInput schema / properties / campaign_id / description
      Added value: +"ID of the campaign to change"
    • addedInput schema / properties / daily_call_target / description
      Added value: +"Number of calls planned per day (integer)"
    • addedInput schema / properties / description / description
      Added value: +"Description of the campaign"
    • addedInput schema / properties / email_signature / description
      Added value: +"E-mail signature used for this campaign's mails"
    • addedInput schema / properties / end_date / description
      Added value: +"End date (YYYY-MM-DD)"
    • addedInput schema / properties / from_email / description
      Added value: +"Sender email address"
    • addedInput schema / properties / from_name / description
      Added value: +"Sender display name"
    • addedInput schema / properties / name / description
      Added value: +"Name of the campaign"
    • addedInput schema / properties / notes / description
      Added value: +"Free-text notes"
    • addedInput schema / properties / owner_id / description
      Added value: +"ID of the owner (user)"
    • addedInput schema / properties / script_id / description
      Added value: +"ID of the script"
    • addedInput schema / properties / start_date / description
      Added value: +"Start date (YYYY-MM-DD)"
    • addedInput schema / properties / status / description
      Added value: +"New status"
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as destructive, idempotent, and closed-world, so the bar is lower; the description still adds the critical non-obvious behavior that omitted values are preserved and that clearing requires opt-in via clear_fields. This is exactly the trap an agent would otherwise fall into, though side effects on scheduling or sending are not mentioned.

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?

Two compact sentences with the partial-update caveat front-loaded ahead of the status vocabulary. The parenthetical is dense but every clause carries operational information.

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 15-parameter mutation tool with no output schema, the description covers the highest-risk semantics (partial update, opt-in clearing, status values) and the schema documents the remaining fields. Return shape and any downstream effects of status changes are left unstated, but that is a minor gap.

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 100%, making 3 the baseline, but the description adds meaning the schema lacks: the concrete status vocabulary (draft|active|paused|completed) despite zero enums in the schema, and the semantics of clear_fields and the non-clearing of empty values.

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?

States a specific verb and resource ("Update a campaign") and immediately qualifies the scope as a partial update, which an agent can act on without opening the schema. It does not distinguish itself from siblings such as update_brevo_campaign_status or update_brevo_email_campaign, so it falls 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 Guidelines3/5

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

The description explains how to clear a field (list it in clear_fields) but never says when to use this tool versus the sibling status-specific or provider-specific update tools. Usage is implied by the partial-update framing rather than explicitly routed.

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.