Skip to main content
Glama

Mailbox File Reorganize

mailbox_file_reorganize
Destructive

Batch rename, move, or copy files using server-side path/blob references. Use for folder cleanup or reorganization without reading or reuploading bytes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
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.
operationsYesArray of server-side path operations to apply without downloading and rewriting file bytes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxNo
mailboxesNo
operationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / mailbox / properties / email / description
      Previous value: -"Accepted email activity. Creation and write-authorized include_email reads also return the full address and receiving state. Activity is not a delivery cursor. Use mailbox_email_list to poll for arrivals."New value: +"Email activity and the address permitted by the connection. Creation and write-authorized include_email reads also return receiving settings. Activity is not a delivery cursor. Use mailbox_email_list to poll for arrivals."
    • removedOutput schema / properties / mailbox / properties / title
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / mailboxes / items / properties / email / description
      Previous value: -"Accepted email activity. Creation and write-authorized include_email reads also return the full address and receiving state. Activity is not a delivery cursor. Use mailbox_email_list to poll for arrivals."New value: +"Email activity and the address permitted by the connection. Creation and write-authorized include_email reads also return receiving settings. Activity is not a delivery cursor. Use mailbox_email_list to poll for arrivals."
    • removedOutput schema / properties / mailboxes / items / properties / title
      Removed value: -{
      -  "type": "string"
      -}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds genuine extra context about the server-side, no-byte-transfer execution model, but says nothing about what a destructive batch operation overwrites, whether partial failures are possible, or how conflicting destinations are handled.

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 no filler; the core action is front-loaded and the execution-model caveat follows. Every clause carries information.

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 not be explained, and annotations cover the destructive/idempotency profile. However, for a batch destructive tool with ambiguous per-operation fields, the description omits any note on atomicity, overwrite behavior, or partial failure, leaving meaningful gaps for correct invocation.

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 description coverage is 100%, so the baseline would be 3, and the description does contribute the key framing that inputs are server-side path/blob references rather than bytes. It does not, however, disambiguate the many overlapping operation fields (path/from_path/to_path/new_path/target_path/target_folder), which the schema itself handles only loosely.

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 set (batch rename, move, or copy) applied to a specific resource (files) and adds a distinguishing mechanism ('server-side path/blob references'). It is clear what the tool does, but it never names the single-file siblings (mailbox_file_copy, mailbox_file_move, mailbox_file_rename) that a confused agent could otherwise pick.

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?

It gives an implied context ('Use for folder cleanup or reorganization'), which orients the agent toward bulk operations, but there is no explicit when-not guidance or reference to the individual rename/move/copy siblings. The agent must infer that this is the batch counterpart to those tools.

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.