Skip to main content
Glama

Mailbox File Rename

mailbox_file_rename

Rename or move one same-mailbox file path by blob reference, creating a rename revision without reuploading bytes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesMailbox-relative file path, for example index.html or assets/app.js.
reasonNoOptional reason for this action. AI agents should include a short purpose for intentional reads and changes when known. Do not invent a reason or include secrets, file contents, or transcripts.
new_pathYesNew mailbox-relative path for a rename operation.
account_idNoOptional account id from revdoku_status.accounts for this call only. Omit for the credential's default account. Client accounts require explicit Agency authorization; never infer an account from a mailbox id.
mailbox_idYesValue for mailbox id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
reasonNo
file_idNo
skippedNo
old_pathNo
byte_sizeNo
mime_typeNo
operationNo
version_idNo
input_indexNo
source_file_idNo
version_numberNo
source_mailbox_idNo
target_mailbox_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare the mutation and non-idempotent profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), so the description is not carrying that burden. It does add genuinely useful behavior: the operation creates a rename revision without reuploading bytes, which tells the agent this is a cheap metadata-level change. It omits conflict behavior when new_path already exists and any lock prerequisites.

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?

One dense sentence with the action and the key scoping constraint front-loaded, no filler or repetition. It is slightly overloaded by the unexplained 'by blob reference' clause, which costs a point but not readability.

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?

An output schema exists so return values need no explanation, and annotations cover the safety profile. For a mutation tool with five parameters and lock-related siblings, the description still leaves open what happens on path collision and whether a lock must be held first, which is a meaningful gap for an agent invoking 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 five parameters, including path, new_path, account_id and reason, are already documented in the schema; baseline 3 applies. The description adds no syntax, format, or constraint detail beyond what the schema states, and its 'blob reference' wording actively muddies the path-based parameter model.

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 gives a specific verb pair (rename or move) and a scoped resource (one same-mailbox file path), which an agent can act on directly. However, it never distinguishes itself from the close sibling mailbox_file_move, and the phrase 'by blob reference' is confusing since every parameter in the schema is a path string, not a blob handle.

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?

The phrase 'same-mailbox' implies a boundary (no cross-mailbox moves), but there is no explicit when-to-use, when-not-to-use, or named alternative, despite mailbox_file_move and mailbox_file_copy being obvious candidates to route against. Guidance is left almost entirely 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.