Skip to main content
Glama

Attach Shop Order Video

dynamoi_attach_shop_order_video
DestructiveIdempotent

Attach the first video to an authorized paid order; existing channel ownership and order-to-artist move rules apply. 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>",
      "artistId": "<artistId>"
    },
    "name": "dynamoi_attach_shop_order_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
phaseNopreview
artistIdYes
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.1/5.0
Behavior5/5

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

Annotations already flag a destructive, idempotent, open-world write, and the description adds genuinely new context on top: the required access level and profile completeness, the mandatory two-phase preview/confirm protocol, the idempotent reconciliation path via clientRequestId, and the explicit assurance that no money moves. That is exactly the extra behavioral surface an agent needs before invoking a destructive tool.

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?

Five tight sentences ordered from purpose to prerequisites to workflow to reconciliation to boundary. Nothing repeats the schema or the annotations, and the most consequential facts (authorization requirement, two-phase flow) are front-loaded.

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 destructive, multi-step mutation with an output schema already covering return values, the description supplies authorization, sequencing, idempotency, and financial-safety context. The remaining shortfall is parameter-level: artistId's role in the order-to-artist move is only hinted at rather than explained.

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% across six parameters, so the description must carry the load. It does explain the most risk-bearing ones — clientRequestId as the idempotency key reused across preview/confirm, expectedOrderState as the concurrency guard, and the preview/confirm phase — but artistId is never mentioned and youtubeUrl's expected shape (a single URL, first video only) is only implied. Half the parameters remain semantically opaque.

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 opens with a concrete verb and resource — attach the first video to an authorized paid order — and adds scoping qualifiers (channel ownership, order-to-artist move rules) that narrow the action. It implicitly separates itself from the sibling replace_shop_promotion_video by specifying 'the first video,' but never names an alternative explicitly, so it falls short of the top score.

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 operational guidance: preview, review with the user, then confirm reusing the same clientRequestId and expectedOrderState, plus reuse the original ID to reconcile uncertain results. Prerequisites (editor access, full profile) are stated and the negative boundary ('does not charge or refund') is called out. What's absent is routing guidance against the replace/promotion siblings.

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.