Skip to main content
Glama

Mark a file as uploaded

complete_upload_source

Called by the upload panel once a file's bytes are in storage: assembles a multipart upload (pass multipart), checks the file's size, and marks it uploaded so WizCut starts preparing it.

Used by WizCut's upload panel in the chat; don't call it yourself — send the user the upload link from create_episode instead.

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": {
      "jobId": "<jobId>",
      "sourceId": "<sourceId>"
    },
    "name": "complete_upload_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
sourceIdYesThe file's sourceId from add_upload_source.
multipartNo

Output Schema

NameRequiredDescriptionDefault
sourceIdYes
uploadedYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the actual side effects: multipart assembly when `multipart` is passed, a size validation step, and the downstream consequence that WizCut begins preparing the file. It does not address what happens on a failed size check or on a repeated call, despite idempotentHint=false, which is the remaining gap.

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 tight sentences: the mechanism first, then the caller restriction. No restatement of the title and nothing extraneous; every clause carries new information.

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 non-idempotent mutation with an output schema already covering return values, the description gives purpose, caller, side effects, and the correct alternative action. Only failure behavior for the size check and repeat-call semantics are left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%; the undocumented portion is the nested `multipart` object (key/uploadId), and the description supplies exactly that meaning — passing `multipart` assembles a multipart upload rather than a simple one. It also frames jobId as the episode id, which is not obvious from the schema alone.

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 action chain on a specific resource: assemble a multipart upload, check size, and mark the file uploaded so preparation starts. It is clearly distinct from the sibling that creates the source (add_upload_source, referenced for sourceId) and from tools that only hand out links.

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?

Explicitly states who calls it (WizCut's upload panel in chat) and gives a direct negative instruction: 'don't call it yourself — send the user the upload link from create_episode instead.' That is a rare, unambiguous when-not plus an alternative action.

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.

Resources