Skip to main content
Glama

Rename File

renameFile
Destructive

Rename a file in team storage.

Input Schema

NameRequiredDescriptionDefault
team_idNoDuvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here.
relativePathYesCurrent path of the file relative to the team's storage root
newFilenameOnlyYesNew file name (no extension; the existing extension is preserved)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say whether existing links/references break, whether the extension is preserved, or what the response contains, which is the kind of extra context that would earn credit here.

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?

A single short sentence with no padding or redundancy; the purpose is front-loaded. It is efficient, though the extreme brevity borders on under-specification rather than crisp conciseness.

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?

The tool is low-complexity (3 flat params, no output schema, no nested objects) and the schema plus annotations carry most of the burden, so the description is minimally viable. It still omits any note about the destructive nature of renaming (broken references, permissions), which would be useful for an agent deciding whether to call it.

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 all three parameters (team_id, relativePath, newFilenameOnly) are already fully documented in the schema, including the extension-preservation rule and the API-key vs OAuth team semantics. The description adds no parameter meaning, so the baseline of 3 applies.

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 (Rename) and resource (a file in team storage), so an agent immediately knows the operation. It does not, however, differentiate itself from neighboring file-mutation tools such as updateFileContent or deleteFile, nor does it clarify the scope beyond 'team storage'.

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?

There is no when-to-use guidance, no statement of prerequisites, and no mention of alternatives (e.g., updateFileContent vs. renameFile). The agent must infer usage entirely from the name.

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