Skip to main content
Glama

update_media

Rename an existing media file or move it into a folder (so it's findable later instead of re-uploading it). Only the fields you pass are changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe media ID to update
nameNoNew human-readable label, e.g. "pp-play5get50". Pass an empty string to clear it.
folder_idNoMove the file into this folder id (from list_folders). Pass an empty string to move it to the root ("All media").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuinely useful trait beyond that: "Only the fields you pass are changed," disclosing partial-update semantics rather than full overwrite.

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?

Two tight sentences with the operation front-loaded and the non-clobbering behavior immediately following; 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?

For a simple 3-param update with full schema coverage, annotations and no output schema, the description is essentially complete. It could still mention that folder_id comes from list_folders, but the schema covers that.

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 100%, so the schema already documents id, name and folder_id including the empty-string clear/move-to-root behavior. The description adds no parameter detail beyond what the schema provides, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (rename/move a media file) with a clear scope, and the parenthetical hints at why. It is readily distinguishable from upload_media and delete_media, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

The phrase "instead of re-uploading it" implies the use case (fixing an existing asset rather than re-uploading), but there is no explicit when-to-use/when-not or pointer to an alternative tool such as list_folders for the folder_id lookup.

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