Skip to main content
Glama

Rename project file

fastero_rename_file
DestructiveIdempotent

Rename an uploaded project file. Only the name changes, and the old one is not kept: its contents, type and fileId stay, and everything built from it refers to it by fileId, so its dashboards keep working. The name cannot contain \ / : * ? " < > |. Answers with the fileId, the new name, the type, the size in bytes and when the file was last updated.

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name with its extension, e.g. 'sales-2026.csv'.
fileIdYesAn uploaded file’s id, from fastero_list_files.
projectIdYesThe project’s id, from fastero_list_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / fileId / description
      Added value: +"An uploaded file’s id, from fastero_list_files."
    • addedInput schema / properties / name / description
      Added value: +"The new name with its extension, e.g. 'sales-2026.csv'."
    • addedInput schema / properties / projectId / description
      Added value: +"The project’s id, from fastero_list_projects."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations give idempotentHint=true and destructiveHint=true, and the description complements them precisely: it says exactly what is lost (the old name is not kept) and what survives (contents, type, fileId, and dependent dashboards), plus name-character validation. It stops short of mentioning permissions or other behavioral traits, so 4 rather than 5.

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 verb and resource, then consequence, then validation, then return payload – no wasted sentences. Slightly dense with four clauses, but every one carries information an agent needs, including the return shape since no output schema exists.

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?

No output schema exists, and the description compensates by enumerating the response fields (fileId, new name, type, size, last-updated). Combined with the mutation semantics and validation rules, nothing needed to invoke or interpret the call 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 goes beyond the schema by adding a real constraint: forbidden characters (\ / : * ? " < > |). The fileId/projectId descriptions are left entirely to the schema, which handles them adequately.

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 and resource ("Rename an uploaded project file"), which distinguishes it cleanly from the nearby upload_file, delete_file and read_file siblings. An agent can identify the operation without opening the schema.

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?

No explicit when-to-use/when-not-to-use statement or named alternative. The clause "everything built from it refers to it by fileId, so its dashboards keep working" implies renaming is safe versus re-uploading, but the agent must infer that this is preferable to a delete+upload cycle.

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.