Skip to main content
Glama

Replace Shop Promotion Video

dynamoi_replace_shop_promotion_video
DestructiveIdempotent

Replace a rejected video only when the existing policy replacement offer is active; preserves the original paid budget and targeting. Requires editor access and full profile. Preview, review with the user, then confirm using the same clientRequestId and expectedOrderState. Reuse the original ID to reconcile an uncertain result. Does not charge or refund.

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": {
      "shopOrderId": "<shopOrderId>",
      "youtubeUrl": "<youtubeUrl>",
      "clientRequestId": "<clientRequestId>",
      "campaignId": "<campaignId>",
      "artistId": "<artistId>"
    },
    "name": "dynamoi_replace_shop_promotion_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
phaseNopreview
artistIdYes
campaignIdYes
youtubeUrlYes
shopOrderIdYes
clientRequestIdYes
expectedOrderStateNo

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses the key behavioral facts: the original paid budget and targeting are preserved, editor access and a full profile are required, no charge or refund occurs, and an uncertain result can be reconciled by reusing the original clientRequestId. The destructiveHint=true is explained rather than contradicted — content is replaced, but money and targeting are not.

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

Conciseness5/5

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

Four tight sentences, front-loaded with the gating condition, then the invariants, then the workflow, then the safety note. No filler.

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?

An output schema exists, so return values need no explanation, and the description covers permissions, preconditions, idempotency, and financial side effects. The remaining gap is parameter-level meaning for the five required identifiers, which a caller must infer.

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 description coverage is 0%, so the description must carry parameter meaning. It does clarify the phase workflow, the need to reuse the same clientRequestId across preview and confirm, and the role of expectedOrderState, but leaves shopOrderId, campaignId, artistId, and youtubeUrl unexplained.

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?

States a specific verb and resource ('Replace a rejected video') plus a gating condition ('only when the existing policy replacement offer is active'), which separates it from sibling operations like attach_shop_order_video that add a video rather than swap a rejected one.

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?

Gives a clear precondition for use (active replacement offer) and an explicit two-step workflow (preview, review with the user, then confirm). It does not name a competing sibling tool or state when-not-to-use beyond the offer condition, so it falls short of a 5.

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.