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 WAV 16/24-bit 44.1 kHz stereo master and a square RGB JPG cover of 3000–6000 px, which check_readiness reports on.

Input Schema

TableJSON 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

A4.1/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: it discloses that validation inspects file content, gives concrete failure examples (MP3 masquerading as a master, non-square or sub-3000px cover), and states the side effect that a failing file is removed. The removal statement sits in tension with the declared destructiveHint=false, though deleting a just-rejected transient upload is arguably not destroying existing user data.

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 sentences, front-loaded with the core behavior, and the readiness sentence earns its place by preventing confusion with check_readiness. Slightly dense in the middle sentence's example list, but nothing is wasted.

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?

No output schema exists, and the description still communicates the two outcomes (attach vs. refused-and-removed) well enough to call the tool correctly. It does not describe what is returned on success or cover the label-connection requirement for the artist parameter, but those gaps are minor for a single-purpose validation tool.

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%, so upload_id carries no description and the description never references it by name or explains what it is. The 'file itself, not its name' remark is about content validation rather than parameter meaning, so it does not compensate for the undocumented required parameter. Baseline 3 is appropriate.

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 pair (check and attach) and resource (the uploaded file itself, not its name), and explicitly separates itself from the confusingly similar check_readiness by explaining readiness is a different, larger condition. An agent can distinguish this tool from its siblings without opening a 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 workflow context: this runs on an already-uploaded file and only attaches it when it conforms, and it names check_readiness as the adjacent step that reports release readiness. It does not explicitly mention request_upload or say 'call this immediately after requesting an upload', so the when-to-use guidance is strong but not exhaustive.

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