Skip to main content
Glama
oshann

hotmail-mcp

by oshann

restore_message

Restore a message to the folder it was moved from, using the local move log. Only works for moves made by this server.

Instructions

Move a message back to the folder it was moved out of. Changes the mailbox.

Uses the local move log, so it only works for moves this server made. The destination is not a choice — it is whatever was recorded — so this commits directly rather than previewing.

Args: message_id: An id from list_moves, or the new_message_id returned by apply_move.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes
Behavior4/5

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

Without annotations, the description carries full burden. It discloses that the tool commits directly without preview and relies on the local move log. It also explains the source of the message_id parameter, contributing to transparency.

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?

The description is well-structured with a clear purpose statement, behavioral details, and parameter documentation. It is slightly verbose with some redundancy (e.g., 'Changes the mailbox'), but overall efficient.

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

Completeness5/5

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

Given the tool's simplicity (one parameter, no output schema), the description covers all essential aspects: what it does, how it works, and where to obtain the input. No gaps are present.

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

Parameters5/5

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

With 0% schema description coverage, the description compensates fully. For the only parameter (message_id), it states it should be an id from `list_moves` or the `new_message_id` from `apply_move`, adding critical context beyond the schema's title.

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

Purpose5/5

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

The description clearly states the tool's action: 'Move a message back to the folder it was moved out of.' It specifies the verb (restore) and resource (message), and the scope is clear. This distinguishes it from siblings like list_moves or apply_move.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains that it works only for moves made by this server ('Uses the local move log'), and emphasizes that the destination is determined by the log, not a choice. It implicitly advises against using it for restoring moves from other sources, providing clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oshann/hotmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server