Skip to main content
Glama

Attach an uploaded file to the release

studio_upload_finish

Attach a file uploaded to a URL from studio_upload_prepare: a track is added to the release (optional title, position and price) and then processed by Bitsound in the background (status processing, then ready; check with studio_release_get), a cover becomes the release cover. Position is the track number, 1 is the first; without it the track goes to the end, if the number is taken the tracks from there move one down. Uploaded files that are not finished within 24 hours are deleted.

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": {
      "upload": "<upload>"
    },
    "name": "studio_upload_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoTrack title, default from the file name. Tracks only
uploadYesUpload ID from studio_upload_prepare
positionNoTrack number on the release (1-60). Tracks only
priceEurNoPrice of the single track in EUR, default 1.00. Tracks only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: background processing by Bitsound with status transitions processing→ready, the exact position-shifting rule when a track number is taken, and an expiry rule that unfinished uploads are deleted after 24 hours. That is precisely the kind of consequence information the readOnly/destructive hints cannot convey.

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?

Front-loaded with the action and every clause carries unique information, but it is delivered as one long multi-clause sentence that is harder to scan than a short structured breakdown would be.

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?

No output schema exists, yet the description tells the agent what state the file lands in, how to verify it (studio_release_get), and what happens on stale uploads. Nothing material for correct invocation is missing.

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 would be 3, but the description adds real meaning: position is the track number with 1 as first, omission appends to the end, and a collision pushes subsequent tracks down. Title and price are named as track-only fields, matching the schema's 'Tracks only' notes.

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 ('Attach a file uploaded ... from studio_upload_prepare') and immediately splits the two outcomes: a track is added to the release, or a cover becomes the release cover. That distinguishes it cleanly from the prepare step and other release siblings.

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?

Makes the prerequisite explicit ('uploaded to a URL from studio_upload_prepare') and points to studio_release_get for status polling. It lacks an explicit when-not or a statement of what happens if you call it with an upload already consumed, but the sequencing context is clear.

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