Skip to main content
Glama

Update campaign

crm_update_campaign

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.

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

B3.4/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-read-only, non-open-world, non-idempotent update. The description adds meaningful behavior beyond that: goal cannot be blanked, claim lists are replaced whole, claims are human-only, agents are refused at write time by claims_refused, and the gate cannot catch overstatements of allowed claims.

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 description is organized into paragraphs and front-loads some key rules, but it uses flowery language and external references such as 'CRM-9 in spirit' and 'CRM-17' that may not help an agent. The claim-gate explanation is valuable but lengthy relative to the core update operation.

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

Completeness3/5

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

For a six-parameter mutation tool with no output schema, the description covers the critical goal and claims behavior but omits name and target_profile entirely. It also does not describe what happens to fields that are not passed, leaving important update semantics incomplete.

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 67%, and the description adds important meaning for goal and especially the claims_allowed/claims_refused fields, including human-only entry and whole-list replacement. It does not compensate for the empty schema descriptions of name and target_profile, so it falls short of full parameter coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening 'Sharpen a campaign' is metaphorical, but the later 'Effects: campaign updated; claim lists replaced when passed' clarifies that this is a mutation tool. It does not clearly enumerate all updateable fields such as name and target_profile, nor does it distinguish this tool from siblings like crm_create_campaign or crm_set_campaign_status.

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 gives useful constraints: the goal may be corrected but never blanked, and claim lists are human-only and should be read via crm_get_campaign before drafting. However, it does not explicitly say when to choose this tool over alternatives such as crm_set_campaign_status or crm_create_campaign.

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.