Skip to main content
Glama

Finish uploading

finish_upload
Read-onlyIdempotent

Called by the upload panel when the user presses Start processing, just before the panel starts it: reports which files are in the episode and whether it's ready for start_processing.

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>",
      "sourceIds": "<sourceIds>",
      "durationMs": "<durationMs>"
    },
    "name": "finish_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
sourceIdsYesThe files this panel uploaded.
durationMsYesFrom the first file starting to the last one finishing.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
uploadsYes
nextStepYes
readyToProcessYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: it explains the tool is a readiness report triggered by the panel just before processing starts, which clarifies why a name like 'finish_upload' is actually non-mutating. It does not discuss failure modes or what happens when the episode isn't ready, and the return shape is left to the output schema.

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, both load-bearing: the first defines behavior and trigger, the second delivers the critical do-not-call guidance up front. No filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool an agent should generally not invoke, the description supplies everything needed: what it does, who calls it, and what to do instead. Return values are covered by the existing output schema, and all three parameters are documented in the schema.

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 each of jobId, sourceIds and durationMs documented in the schema itself, including provenance hints. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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: it 'reports which files are in the episode and whether it's ready for start_processing.' It also distinguishes itself from siblings by naming start_processing as the follow-on action and create_episode as the alternative path for the user.

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 when: the upload panel calls it when the user presses Start processing. Gives an explicit when-not: 'don't call it yourself,' with the substitute action ('send the user the upload link from create_episode'). Nothing is left 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.

Resources