Skip to main content
Glama

Add a file to an episode from a link

add_source_from_url

Add one camera or audio file to an episode by giving WizCut a link to it, instead of the user uploading it. WizCut downloads the file itself.

Only pass a link the user gave you or asked you to use: a direct file link, a Google Drive, Dropbox or OneDrive link shared with anyone who has the link, or, when the user asks you to add a file they attached in this chat and the chat app gives it a download link (download_url), that link. Never a web page, a folder, or a YouTube, Vimeo, Riverside or Zoom page — for those, send the user the upload link instead.

Confirm the label with the user before calling (e.g. "Camera 1 – Anna", "Host mic"); one call per file. kind is optional: WizCut works out camera or audio from the file.

It returns straight away; the import runs in the background (minutes for large files). Check get_episode_status: the file shows as importing, then uploaded — or import failed with the reason, in which case remove_file it and try another link. Only call start_processing once every file is in.

Works only before processing starts. Pass a clientRequestId you generate so a retried call doesn't import the file twice.

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>",
      "url": "<url>",
      "label": "<label>"
    },
    "name": "add_source_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe https link to one video or audio file (direct download, a chat attachment's download_url, or a Drive/Dropbox/OneDrive share link).
kindNoOptional: camera (video) or separate audio. Leave out to let WizCut decide.
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
labelYesA name the user confirmed, e.g. "Camera 1" or "Host mic".
clientRequestIdNoYour own id for this request (e.g. a UUID), so retrying is safe. Remembered for 24 hours.

Output Schema

NameRequiredDescriptionDefault
hostYes
jobIdYes
statusYes
sourceIdYes
nextStepsYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: WizCut downloads server-side, the call returns immediately and import runs in the background for minutes, status transitions via get_episode_status, failure handling with remove_file, and the pre-processing precondition. The clientRequestId retry-safety note is not a contradiction of idempotentHint=false — it explains how to get idempotency that the tool does not provide by default.

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?

Purpose is front-loaded in the first sentence and the paragraphs are organized by concern (what link, what label, what happens after, preconditions). It is on the long side and repeats the link-type caveats, but nearly every sentence carries actionable constraint.

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?

With a full output schema and rich annotations already supplied, the description fills the remaining gaps an agent needs: source restrictions, label protocol, async lifecycle, failure recovery, and ordering relative to start_processing. Nothing material is missing for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds operational meaning: the label should be user-confirmed with concrete examples, and kind is explicitly optional because WizCut infers camera vs. audio. Link-type validation for url adds guidance the schema only gestures at.

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?

"Add one camera or audio file to an episode by giving WizCut a link to it, instead of the user uploading it" names a specific verb, resource, cardinality (one file), and the mechanism (link vs. upload). The contrast with the upload path distinguishes it from add_upload_source without needing that tool's 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?

Explicit when-to-use (link the user provided, a Drive/Dropbox/OneDrive share link, a chat attachment's download_url) and when-not (web pages, folders, YouTube/Vimeo/Riverside/Zoom pages — send an upload link instead). It also states sequencing constraints: confirm the label first, one call per file, only before processing starts, and call start_processing only after all files are in.

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