Skip to main content
Glama

Update Campaign

dynamoi_update_campaign
DestructiveIdempotent

Use only when the user explicitly requests a campaign change. Resume isn't available for fixed-flight YouTube campaigns. Duplicate the campaign to relaunch it. For pause, resume, archive and unarchive, first request phase=preview with one clientRequestId. Show that exact preview to the human; only after approval send phase=confirm with its expectedUpdatedAt, expectedCurrentStatus and (for resume) expectedFundingHash and the same request ID. Omitting phase never executes these status actions. Actions: pause, resume, update_budget, update_end_date (DAILY or TOTAL budget), update_location (GLOBAL or catalog-valid countries), change_strategy (managed YouTube Demand Gen), update_goals (YouTube optimization toggles), archive (never deletes), unarchive (restores PAUSED without funding or activating providers). Inspect the campaign first and supply expectedCurrentStatus where possible. When retrying the same action, reuse the same clientRequestId.

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": {
      "action": "<action>",
      "campaignId": "<campaignId>"
    },
    "name": "dynamoi_update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
phaseNoPause, resume, archive and reviewed budget changes require preview first; confirm only after the human approves that exact preview.
actionYes
endDateNoLast day ads run
strategyNoYouTube campaign strategy. Labels for users: CHEAPEST_VIEWS = Views, ORGANIC_VIEWS = Watch Time, SUBSCRIBERS = Subscribers, ORGANIC_VIEWS_AND_SUBSCRIBERS = Channel Growth (default for non-monetized channels), ADSENSE_ROI = Revenue (monetized channels only).
campaignIdYes
budgetAmountNoBudget in the artist's commercial currency (major units; use only exact minor units).
clientRequestIdNo
locationTargetsNo
expectedUpdatedAtNo
userIntentSummaryNo
expectedFundingHashNo
expectedCurrentStatusNo
acceptedConsentVersionNo
expectedCurrentEndDateNoLast day ads run
optimizeForSubscribersNo
acceptedConsentCopyHashNo
optimizeForOrganicViewsNo
acceptedTotalConsentVersionNo
expectedCurrentBudgetAmountNoCurrent budget in the artist's commercial currency (major units).
acceptedTotalConsentCopyHashNoAccepted for older clients; ignored.
authorizeAutomaticDailyFundingNoAccepted for older clients; ignored.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
kindNo
fieldNo
statusYes
draftIdNo
messageNo
retryableNo
nextActionNo
failureStageNo
prerequisiteNo
screeningResultNo
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / strategy / description
      Previous value: -"YouTube campaign strategy. Labels for users: CHEAPEST_VIEWS = Views, ORGANIC_VIEWS = Watch Time, SUBSCRIBERS = Subscribers, ORGANIC_VIEWS_AND_SUBSCRIBERS = Channel Growth (default for non-monetized channels), ADSENSE_ROI = Revenue (monetized channels only). Read dynamoi://youtube/campaign-strategies before recommending or changing one."New value: +"YouTube campaign strategy. Labels for users: CHEAPEST_VIEWS = Views, ORGANIC_VIEWS = Watch Time, SUBSCRIBERS = Subscribers, ORGANIC_VIEWS_AND_SUBSCRIBERS = Channel Growth (default for non-monetized channels), ADSENSE_ROI = Revenue (monetized channels only)."
  2. Added
  3. Removed
  4. Changed4 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +false
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "validation",
      +    "business",
      +    "platform",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / message
      Added value: +{
      +  "type": "string"
      +}
  5. Changed3 schema fields changed
    • addedInput schema / properties / acceptedConsentCopyHash
      Added value: +{
      +  "const": "36efa2138175fe14ec7b104d6f240bdce89d21b86ffccbd9f968100c50123e15",
      +  "type": "string"
      +}
    • addedInput schema / properties / acceptedConsentVersion
      Added value: +{
      +  "const": "managed-ads-prospective-daily-v1",
      +  "type": "string"
      +}
    • addedInput schema / properties / authorizeAutomaticDailyFunding
      Added value: +{
      +  "const": true,
      +  "description": "Set only after the client explicitly accepts: “Authorize automatic card funding for this campaign's requested approximately 24-hour daily budget.”",
      +  "type": "boolean"
      +}
  6. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true), the description discloses the concrete destruction boundary (archive never deletes), the exact post-state of unarchive (restores PAUSED without funding or activating providers), the no-op risk of missing phase, and the idempotency contract via clientRequestId plus expectedUpdatedAt/expectedCurrentStatus/expectedFundingHash guards. This is the kind of precondition and side-effect disclosure structured fields cannot carry.

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?

Front-loads the gating rule and the preview/confirm workflow before the action inventory, so the highest-risk information arrives first. The long action parentheticals are dense but each carries distinct semantics (e.g. archive never deletes, change_strategy scope), though the run-on enumeration could be broken into a short list for faster scanning.

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 21-parameter destructive mutation tool with an output schema present, the description supplies the workflow, safety preconditions, and per-action state effects an agent needs to call it correctly. Remaining gaps are individual parameter meanings and any rate-limit or partial-failure behavior, which are secondary given the structured schema and annotations.

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 only 38% across 21 parameters, so the description must compensate; it explains the preview/confirm phase semantics, which concurrency tokens are required per action, budget unit conventions (DAILY or TOTAL), location modes (GLOBAL vs catalog-valid countries), and that change_strategy only applies to managed YouTube Demand Gen. It is silent on several parameters the schema also leaves undescribed (userIntentSummary, acceptedConsent* fields, optimizeFor* toggles, expectedCurrentBudgetAmount), so it only partially closes the gap.

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

Purpose5/5

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

Names a specific verb/resource and enumerates the exact mutation set (pause, resume, update_budget, update_end_date, update_location, change_strategy, update_goals, archive, unarchive), so the agent knows precisely which campaign changes route here. It also distinguishes relaunch behavior (duplicate the campaign; resume unavailable for fixed-flight YouTube campaigns), separating it from fund-adding or launch siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit entry condition ("Use only when the user explicitly requests a campaign change"), a precondition ("Inspect the campaign first and supply expectedCurrentStatus where possible"), and a mandatory human-approval workflow for the reviewed actions. It also states a negative rule — omitting phase never executes status actions — plus retry guidance to reuse clientRequestId, leaving nothing to inference.

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.