Skip to main content
Glama

Add assets or versions to an asset

versions_add
Destructive

Make other assets or versions the NEWEST versions of asset_id (the asset that keeps its title, link and sharing), as dragging one onto another does in the Flask app. Use it when a revision was uploaded as a separate asset. A source asset id brings ALL its versions, and that source asset then stops existing: its title and link go, and its versions take asset_id's sharing. A version id moves just that version (if it was its asset's only version, that asset goes the same way). Sources are added in order; the last becomes the current version. Refused when a source is still uploading, is in another team, or is shared more narrowly than asset_id (sharing is changed in the app). No media or feedback is ever deleted; feedback stays on its version. To add NEW media as a version, use the upload tools with version_of. Results are per source; earlier ones are not undone if a later one fails.

Input Schema

NameRequiredDescriptionDefault
asset_idYesThe asset that receives the versions (any of its ids)
source_idsYesAsset or version ids to add, in order; the last becomes current

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag destructive/not-idempotent; the description goes well beyond: it states the source asset ceases to exist along with its title and link, that sharing is taken from asset_id, that no media or feedback is deleted, that ordering determines the current version, and that failures are per-source without rollback. These are exactly the consequences an agent needs before invoking a destructive tool.

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 core action and metaphor, and virtually every sentence carries information an agent needs for a destructive multi-source operation. It is dense and would benefit from light structuring, but there is no filler to cut.

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?

For a destructive, multi-source tool with no output schema, the description covers ordering, per-source results, refusal conditions, and side effects on the source asset and feedback. Nothing material an agent would need to call this correctly 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 is 3, but the description adds real meaning beyond the schema: asset_id is 'the asset that keeps its title, link and sharing', and source_ids behave differently depending on whether an asset id (all versions) or a version id (single version) is passed.

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+resource ('Make other assets or versions the NEWEST versions of asset_id') and grounds it in a familiar mental model ('as dragging one onto another does in the Flask app'). It also explicitly distinguishes itself from siblings by routing new-media creation to 'the upload tools with version_of'.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('Use it when a revision was uploaded as a separate asset') and an explicit when-not/alternative ('To add NEW media as a version, use the upload tools with version_of'). It also enumerates the refusal conditions (still uploading, another team, more narrowly shared), leaving little to inference.

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.