Skip to main content
Glama

Check an uploaded file and attach it

finalize_upload

Audora reads the file you uploaded (the file itself, not its name) and attaches it only if it meets the upload spec. A master that is secretly an MP3, or a cover that is not square or is under 3000 pixels, is refused here and the file is removed. Passing here is not the same as being releasable: a release also needs a stereo master and a square RGB JPG cover of 3000–6000 px, which check_readiness reports on.

Input Schema

NameRequiredDescriptionDefault
nameNoA short name, for an artist image.
artistNoOnly when you are connected as a label: the roster artist this call is for — their artist_user_id from list_roster, or their exact artist name. Required for every artist tool on a label connection. Leave it out on an artist's own connection.
upload_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior2/5

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

The description discloses a lot beyond the annotations: the file's contents (not its name) are inspected, invalid files are refused AND removed, and passing here is not equivalent to being releasable. However, 'the file is removed' describes a destructive outcome while destructiveHint=false, creating a tension an agent cannot resolve from the structured fields alone.

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?

Three dense sentences, no filler, and the core action and the failure behavior are front-loaded before the forward reference to check_readiness.

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?

For a mutating tool with no output schema, the description covers failure modes, side effects (removal), and the post-condition boundary versus check_readiness. It leaves unstated the success side effect (what the file is attached to) and the origin of upload_id, minor gaps given the annotation coverage.

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 coverage is 67% (name and artist are documented; upload_id is not). The description does add a genuine disambiguation — 'the file itself, not its name' — clarifying that upload_id refers to file content rather than the optional name parameter, but it never says where upload_id comes from (presumably request_upload). Baseline 3 given partial schema coverage plus one useful clarification.

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?

Specific verb+resource: it validates an uploaded file against the upload spec and attaches it only on success. It also actively distinguishes itself from the sibling check_readiness ('Passing here is not the same as being releasable'), so an agent can route correctly without opening either schema.

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?

Gives clear when-not conditions (non-MP3 master, non-square or sub-3000px cover → refused) and names the alternative tool (check_readiness) for the releasability question. It does not explicitly name request_upload as the required predecessor or state the ordering, which keeps it short of a 5.

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