Skip to main content
Glama

Get a track upload link

create_track_upload

Partner accounts only. Get a single-use link to upload one audio file (MP3, WAV, FLAC) or, for films, one video (MP4, MOV), up to 2 GB, valid for 10 minutes. Send the file to it with HTTP PUT; the response is the stored track. Give the track its name, position and credits here. Request one link per file.

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": {
      "articleId": "<articleId>",
      "filename": "<filename>"
    },
    "name": "create_track_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
isrcNo
nameNoTrack title; defaults to the filename.
indexNo0-based position on the release.
artistNo
writerNo
previewNoFilms only: this file is the trailer.
composerNo
durationNoLength in seconds, when known.
filenameYesThe file's name; its extension decides the type.
producerNo
articleIdYesRelease id from list_releases or create_release.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call did not succeed.
methodNo
reasonNonot_a_partner when the signed-in account has no partner account.
commandNoA curl command that uploads the file; replace <file> with its path.
successNo
expiresAtNo
uploadUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses essential behavior: the link is single-use, valid for 10 minutes, capped at 2 GB, and accepts specific audio/video formats. It also explains that the file is sent by HTTP PUT and that the response is the stored track, which is exactly the operational context an agent needs.

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?

The description is dense but front-loaded, leading with the partner restriction and the core action. Every sentence carries operational value: formats, size, expiry, HTTP PUT, response behavior, and one-link-per-file guidance.

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?

Given the output schema and annotations, the description covers the full upload flow an agent needs: eligibility, link constraints, file formats, transfer method, and metadata entry point. Parameter-level omissions are minor and partly addressed by 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 55%, and the description compensates partially by saying to provide the track name, position, and credits here, which gives meaning to several metadata fields. However, it does not clarify several undocumented parameters such as isrc, artist, writer, composer, and producer, so it only partly fills the schema gap.

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 states a specific verb and resource: get a single-use link to upload one audio or video file. It distinguishes the operation from sibling upload-style tools by specifying audio/video formats and file-size limits, and it clearly frames the tool as a track-upload preparation step.

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?

It gives a clear prerequisite (partner accounts only) and a key usage rule (request one link per file; send the file with HTTP PUT). It does not explicitly compare against alternatives such as create_image_upload or create_release_preview_link, so it stops short of full when-to-use/when-not 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