Skip to main content
Glama

Add a file to the episode

add_upload_source

Registers one camera or audio file the user picked in WizCut's upload panel and returns where its bytes go: one presigned PUT URL, or a multipart upload (uploadId, partSize, partCount and the first part URLs) for files over 100 MB.

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>",
      "label": "<label>",
      "kind": "<kind>",
      "ext": "<ext>",
      "fileSize": "<fileSize>"
    },
    "name": "add_upload_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
extYesFile extension, lowercase.
kindYes
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
labelYesShown in WizCut, e.g. "Cam A" or "Anna mic".
fileSizeYesExact size in bytes; signed into the upload URLs.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
uploadYes
sourceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), but the description adds genuinely new behavior: the 100 MB threshold that switches the response from a single PUT URL to a multipart upload with uploadId, partSize, partCount and part URLs. It stops short of stating auth requirements or what complete_upload_source must do afterward, which keeps it off a 5.

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

Conciseness4/5

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

Two tight sentences, front-loaded with the action and the return contract, followed by the routing caveat. The parenthetical enumerating multipart fields is dense but every element is load-bearing; nothing is padding.

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 5-required-param mutation tool with an output schema and solid annotations, this covers what the agent needs: the return contract, the size-based branching, and the do-not-call guidance. A pointer to the follow-up step (complete_upload_source) would close the last gap.

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 coverage is 80% and every parameter is documented in the schema, so the baseline is 3. The description only touches parameters indirectly through the 100 MB multipart branch; it adds no meaning about label, kind, ext, or jobId beyond what the schema already states.

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 ('Registers one camera or audio file') and immediately distinguishes itself from add_source_from_url by naming the source ('the user picked in WizCut's upload panel'). It also defines the return shape (presigned PUT URL vs multipart), so the agent knows exactly what this tool produces.

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 says who should call it and, more importantly, who should not: 'don't call it yourself — send the user the upload link from create_episode instead.' That is a named alternative plus the condition that selects it, which is the strongest form of routing guidance.

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