Skip to main content
Glama

Rename media file

rename_media_file

Rename a media file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMedia file ID (from list_media)
nameYesNew file name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe file as saved — id, name and url. The url does not change.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already indicate a mutating (readOnlyHint=false) but non-destructive (destructiveHint=false) operation. The description adds no behavioral context beyond that, such as whether existing names must be unique, whether references to the old name are updated, or whether the operation is reversible.

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?

The description is a single, efficient sentence with no filler. It is appropriately sized for a simple tool, though it is almost identical to the title and could have included a touch more actionable detail without bloating.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity operation with a full input schema, output schema, and annotations, the description is minimally sufficient to invoke correctly. However, it leaves gaps around when to use it and what behavioral side effects to expect, so an agent may not handle edge cases properly.

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%, with both parameters documented well: id references list_media for provenance and name describes the new file name. The description itself adds nothing beyond the schema, but the schema fully carries the semantic load.

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?

The description states a specific verb and resource: 'Rename a media file'. It is clearly distinguishable from sibling operations like archive_media_file or update_* tools, though it does not explicitly contrast itself with them. The purpose is unambiguous.

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

Usage Guidelines2/5

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

No guidance is given for when to use this tool versus alternatives such as archive_media_file, update_media_file variants, or rename_connection. An agent must infer the appropriate context from the name alone, with no exclusions or decision rules.

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