Skip to main content
Glama

Mailgi

Rename folder

mailbox_rename
Idempotent

Renames a folder.

Input Schema

NameRequiredDescriptionDefault
idYes
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that — not whether the old name becomes invalid, whether collisions with existing names error out, or whether this affects mail routing. With annotations present the bar is lower, but zero added context still warrants a 2.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with zero waste and front-loaded, but it is under-specified rather than genuinely concise. There is room to add clarifying clauses without bloat.

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

Completeness2/5

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

For a mutation tool with no output schema and 0% parameter coverage, the description should explain the identifier semantics, name constraints/conflict behavior, and permission requirements. None of that is present, so an agent cannot call this correctly without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both required params, so the description carries the full burden and fails it. It never clarifies that `id` identifies the mailbox to rename or that `name` is the new name (and not, say, a display label or a lookup key). One clause would have closed this gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Renames a folder"), so the basic operation is inferable. But it essentially restates the title "Rename folder" and introduces a terminology mismatch: the tool is mailbox_rename, yet the description says "folder," leaving unclear whether a mailbox is the folder being renamed. No differentiation from siblings like mailbox_create or mailbox_delete.

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 guidance on when to use this versus alternatives, no prerequisites (e.g., ownership or permissions needed to rename), and no mention of what happens to mail already in the mailbox. Usage must be entirely inferred 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.