Skip to main content
Glama

Complete Media Upload

clipform_complete_media_upload
Idempotent

Confirm a signed-PUT upload finished, after PUTting the bytes to the upload_url returned by clipform_upload_media_asset with upload_method put. The API verifies the object actually landed in storage before it moves the asset on from processing - call this right after the PUT succeeds, or the asset stays invisible in the library. Not needed when the upload method was TUS.

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": {
      "media_asset_id": "<media_asset_id>",
      "context": "<context>"
    },
    "name": "clipform_complete_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesDescribe the user's underlying goal in one sentence - not the tool you're calling.
form_idNoThe form this is for (from clipform_create_form) - a routing hint only, to pick the right workspace. The result still lands in the workspace library, not on a node. Required on an anonymous session, or this lands in a different workspace and clipform_attach_node_media will not find it.
media_asset_idYesThe media_asset_id returned by clipform_upload_media_asset for the PUT upload

Output Schema

NameRequiredDescriptionDefault
statusYesThe asset's status after this call - ready on success (processing while a video is still being prepared), or its already-settled status when called again (noop)
media_asset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / media_asset_id / description
      Previous value: -"The media_asset_id returned by clipform_upload_media_asset for the still image"New value: +"The media_asset_id returned by clipform_upload_media_asset for the PUT upload"
    • changedOutput schema / properties / status / description
      Previous value: -"The asset's status after this call - ready on success, or its already-settled status when called again (noop)"New value: +"The asset's status after this call - ready on success (processing while a video is still being prepared), or its already-settled status when called again (noop)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / form_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedInput schema / properties / media_asset_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. Changed1 schema field changed
    • addedInput schema / properties / form_id
      Added value: +{
      +  "description": "The form this is for (from clipform_create_form) - a routing hint only, to pick the right workspace. The result still lands in the workspace library, not on a node. Required on an anonymous session, or this lands in a different workspace and clipform_attach_node_media will not find it.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Describe the user's underlying goal in one sentence - not the tool you're calling.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "media_asset_id"
      -]New value: +[
      +  "media_asset_id",
      +  "context"
      +]
  5. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (idempotentHint=true, openWorldHint=false), the description discloses the server-side verification step ('The API verifies the object actually landed in storage') and the state transition out of processing, plus the failure symptom of omission. It does not cover error behavior if verification fails, but the annotations already carry the safety and idempotency profile.

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?

Two sentences, front-loaded with the action and the sequencing constraint, then the exclusion for TUS. No filler and nothing important buried at the end.

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 three-parameter confirmation step with annotations and an output schema, the description supplies the missing operational context: preconditions, ordering, and the cost of not calling it. Only failure-mode behavior (what an agent sees when verification does not succeed) is left unstated.

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 100%, with form_id and media_asset_id fully documented in the schema including the anonymous-session routing caveat. The description only echoes that media_asset_id comes from clipform_upload_media_asset and adds no new meaning beyond the schema baseline.

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?

The description states a specific verb and resource ('Confirm a signed-PUT upload finished') and ties it to the exact producer of the upload_url ('returned by clipform_upload_media_asset with upload_method put'), so an agent can place it in the workflow without opening any schema.

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?

It gives both halves of the rule explicitly: call it right after the PUT succeeds, and 'Not needed when the upload method was TUS.' The consequence of skipping it ('the asset stays invisible in the library') reinforces the condition rather than leaving it 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.