Skip to main content
Glama

Update campaign

crm_update_campaign
Destructive

Sharpen a campaign. The goal can be corrected, never blanked. Same rule as provenance (CRM-9 in spirit): the goal is load-bearing — sharpen it freely, remove it never.

CLAIMS ARE HUMAN-ONLY (CRM-17). claims_allowed is what this business has decided it may say about itself; claims_refused is the words and phrases no draft on this campaign may contain. Both are typed by a person, and both replace the previous list whole. Agents read them before drafting (crm_get_campaign) and are refused at write time by the second list, but the gate cannot catch an overstatement of a claim that is itself allowed — so a draft has to stay inside what the claim actually says, not merely mention the same subject. Effects: campaign updated; claim lists replaced when passed.

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

Input Schema

NameRequiredDescriptionDefault
goalNoCorrecting, not blanking.
nameNo
campaign_idYesThe campaign. An existing campaign id.
claims_allowedNoWhat a draft on this campaign may assert. Replaces the list whole; empty list clears it. HUMAN-ONLY: entered by a person, never an agent — do not write this field.
claims_refusedNoWhat no draft on this campaign may say. Replaces the list whole; empty list clears it. HUMAN-ONLY: entered by a person, never an agent — do not write this field.
target_profileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 destructive=true and idempotent=false; the description adds genuinely new behavior: goal can never be cleared, claim lists are replaced whole rather than merged, and the write-time gate cannot catch overstatement of an allowed claim. That last point is real operational context an agent could not infer from the schema, though effects on name and target_profile are left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The load-bearing facts are front-loaded, but the opening metaphor, the parenthetical "CRM-9 in spirit," and the repetition of the goal rule cost space without adding information. A tighter version would keep the human-only and replace-whole rules and cut the framing.

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 non-idempotent destructive update with no output schema, the description covers the important consequences: what gets replaced, what cannot be removed, and who may write the claim fields. Remaining gaps are the effect of name/target_profile and auth or failure behavior, which are moderate rather than disqualifying.

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 67%, so the schema already documents most fields, and the description largely restates it (replace-whole semantics, human-only claims, goal not blankable all appear in the schema descriptions). No meaning is added for name or target_profile, and the ticket references (CRM-9, CRM-17) carry no resolvable semantics for the agent.

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?

"Sharpen a campaign" is a metaphor that conveys little on its own, but the description quickly grounds it with concrete effects: "campaign updated; claim lists replaced when passed," plus the specific rule that the goal may be corrected but never blanked. It is distinguishable from crm_get_campaign (explicitly the read path) though not from crm_update_draft or the other update siblings.

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?

Strong on one axis: agents are told to read claim lists first via crm_get_campaign and that claims_allowed/claims_refused are human-only fields they must not write. It does not, however, contrast this tool with crm_update_draft or state preconditions such as needing an existing campaign id beyond what the schema implies.

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.