Skip to main content
Glama

Rename OneDrive item

rename_onedrive_item

Rename a OneDrive file or folder without moving it.

Input Schema

NameRequiredDescriptionDefault
itemIdYes
mailboxYesEmail address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options.
newNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation-but-safe profile is covered. The description adds one useful behavioral fact beyond that: the operation changes the name only and leaves the item in place. It says nothing about permission requirements, name-collision behavior, or reversibility.

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 front-loaded sentence with no filler; the scope constraint is placed where it matters. It is efficient, though the brevity leaves the gaps noted in other dimensions unfilled.

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?

For a 3-parameter mutation tool with no output schema, the description plus annotations cover the essential safety profile, but two of three parameters are undocumented in both schema and description, and failure modes (name conflicts, permissions) are absent. Adequate but with clear holes.

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 coverage is only 33% – itemId and newName have no descriptions – and the tool description mentions no parameters at all. It neither explains that itemId identifies the target within a specific mailbox nor clarifies newName semantics (extension handling, invalid characters), so it fails to compensate for the coverage gap.

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?

States a specific verb (rename) and resource (OneDrive file or folder), and the clause 'without moving it' implicitly separates it from move_onedrive_item. It does not explicitly name a sibling, so an agent must infer the boundary, but the purpose is unmistakable.

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?

Usage is only implied: the 'without moving it' constraint suggests this is for in-place name changes rather than relocations, which quietly routes away from move_onedrive_item. There is no explicit when-to-use statement, no prerequisites, and no mention of the required mailbox context.

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