Skip to main content
Glama

Neattrim Voice and Video

Create upload

create_upload

Gets a place to put a file that is on the user's device or in your sandbox when there is no public URL. Returns a file_id to pass as source, an upload_page_url to show the user (they open it and drop the file; it resumes on weak connections), and an upload_put_url you can PUT the raw bytes to. The file_id works once the upload finishes. Unused uploads expire after 1 hour; uploaded files are deleted within 24 hours of the job that uses them.

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": {
      "file_name": "<file_name>"
    },
    "name": "create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoWhat the file is for.job_input
file_nameYesFile name with extension.
size_bytesNoSize in bytes, if known.

Output Schema

NameRequiredDescriptionDefault
file_idYes
upload_idNo
expires_atYes
upload_put_urlNo
upload_page_urlYesPage where the user signs in and drops the file (it sends the file to this upload); null when the upload has no page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say it is not read-only, not destructive, and closed-world; the description supplies the real behavioral context: the returned file_id is unusable until the upload completes, the upload_page_url resumes on weak connections, unused uploads expire after one hour, and uploaded files are deleted within 24 hours of the consuming job. Those lifecycle and state-transition details go well beyond the structured fields and prevent real misuse.

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?

Three dense sentences, front-loaded with the purpose and then the return contract and lifetime rules; nothing is decorative. It leans toward one long run-on sentence for the three return values, which slightly hurts scanability but does not waste words.

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?

An output schema exists, so return shape needs no prose, yet the description still adds value by explaining what each returned value is for and how long it lives. The remaining gap is the meaning of the purpose enum and whether size_bytes affects behavior, which are not covered anywhere.

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%, so the baseline is 3. The description ties file_id to the source parameter downstream but does not explain the job_input vs library distinction in purpose, which is the only semantically ambiguous parameter; it leaves that entirely to the schema's one-line 'What the file is for.'

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 description gives a concrete verb and resource — getting a place to put a file — and scopes it to files on the device or in the sandbox with no public URL, which cleanly separates it from URL-source ingestion paths. It also names the three artifacts returned, so an agent knows exactly what it is buying by calling it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The triggering condition is explicit: use this when there is no public URL. What is missing is a named alternative for the case where a public URL does exist, so the agent must infer that a URL-source parameter path exists elsewhere. The condition itself is unambiguous, which puts this above an implied-usage 3.

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