Skip to main content
Glama

Update a campaign

update_campaign
Idempotent

Rename a campaign or change its UTM values. Only the fields you send change. New UTM values reach a link the next time it is saved or added to the campaign.

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
idYesThe campaign's id, as returned by list_campaigns.
nameNoA new name.
utm_mediumNoA new utm_medium. Send an empty string to remove it.
utm_sourceNoA new utm_source. Send an empty string to remove it.
utm_campaignNoA new utm_campaign. Send an empty string to remove it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the safety profile (non-read-only, idempotent, non-destructive, closed-world), so the bar is lower. The description earns credit for the genuinely non-obvious propagation rule ("New UTM values reach a link the next time it is saved or added to the campaign") and the partial-update semantics, but it says nothing about failure modes, permissions, or whether a missing id errors out.

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?

Three short sentences with the primary action front-loaded and zero filler; the propagation caveat is last, where it belongs as a secondary note. Sizing is appropriate for a five-parameter mutation tool.

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

Completeness5/5

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

For a flat five-parameter update with no output schema and a fully documented schema, the description covers action scope, update semantics, and the delayed-effect caveat. Nothing an agent needs in order to invoke it correctly appears to be missing.

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%, so the baseline is 3, and the description adds real meaning with "Only the fields you send change," which clarifies that omitted optional parameters are left untouched rather than cleared. It does not restate the empty-string removal convention, but that is already documented per-parameter in 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 names a specific verb set ("Rename ... or change its UTM values") and the resource (campaign), which cleanly separates it from create_campaign and the link-oriented siblings. It stops short of explicitly naming any sibling or stating what it is not for, so it sits just below the top band.

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?

"Rename a campaign or change its UTM values" gives clear context for when to reach for this tool, and the partial-update note narrows expectations further. There is no explicit exclusion or comparison against alternatives such as create_campaign, so the routing guidance is implied rather than spelled out.

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.