Skip to main content
Glama

Upload a file to transcribe

upload_file
Read-onlyIdempotent

Show an upload box in the chat so the person can drop an audio or video file from their computer to transcribe it (up to 5 GB). On a connection that uses API credits the file is billed to the API balance. Use this when they want to transcribe a file they have locally rather than a link, and no file is attached to their message (for example "I want to transcribe a file on my laptop"). In Claude, when they ask to upload or transcribe a file and none is attached (for example "Upload a file to transcribe"), call this at once: do not ask them to attach the file to the chat first, because a file attached in Claude does not reach Scriptivox by itself. Also use it when they attached a file in an app that cannot pass attachments to Scriptivox (Claude): first, if you can run code and the attachment is in your sandbox, try upload_link and run its command there; if that is not possible or the upload is blocked, call this and ask them to drop that same file in the box. The box only appears when you call this tool, so call it rather than describing it. Nothing is uploaded until they pick a file. The result says how long a file the person's plan transcribes; tell them if theirs is longer. When the person said the language or that more than one person speaks (for example "a Hindi interview with 3 people": language "hi" and diarize: true), pass language and diarize so the box starts with them; they can still change them in the box.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
diarizeNoLabel who said what. Default false.
languageNoISO 639-1 language code (e.g. "en", "es", "fr"). 119 languages supported. Strongly recommended when you know the language.
folder_idNoPut the transcript in this folder (from list_folders). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Well beyond the annotations, it discloses that nothing is uploaded until the person picks a file (consistent with readOnlyHint=true), that billing goes to the API balance on credit-based connections, that the box is invisible until invoked, and that the result reports plan length limits. What is missing is what happens after the person picks a file (does the call return, or does it hand off to transcribe_status?).

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

Conciseness3/5

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

The purpose is front-loaded, but the middle is a long conditional chain with duplicated examples ("I want to transcribe a file on my laptop" and "Upload a file to transcribe" serve the same point) and repeated restatements of the Claude attachment limitation. It reads as accumulated instructions rather than a tightened definition.

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 three-optional-parameter tool with full schema coverage, no output schema, and clear annotations, the description covers the trigger, the alternative, the side effects, the billing implications and how to interpret the result. An agent has everything needed to decide and call correctly.

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; the description earns an extra point by showing how to map natural language to parameters ("a Hindi interview with 3 people" → language "hi", diarize: true) and by noting the person can still change them in the box. folder_id is left entirely to the schema, which is acceptable at full coverage.

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 first sentence names a concrete action ("Show an upload box in the chat") and the resource it operates on (audio or video file, up to 5 GB). It immediately separates itself from the link-based path by saying "rather than a link," so an agent can distinguish it from upload_link 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 explicit triggers ("they want to transcribe a file they have locally"), an explicit exclusion ("no file is attached to their message"), and a fallback ordering against an alternative: try upload_link in the sandbox first, then this tool if blocked. Even the meta-condition "the box only appears when you call this tool" is stated.

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.