Skip to main content
Glama
injaan

@injaan.dev/ms365-email-cli-mcp

by injaan

attachment

List or download email files by message ID. Set an output directory to save them, or omit to see available files.

Instructions

List or download attachments from an email. Lists attachments if no output directory is set; downloads to directory if output is set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMessage ID of the email
output_dirNoDirectory path to download attachments to (omit to just list attachments)
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the key behavioral distinction (list vs. download) and the side effect of writing to a directory when output_dir is set. It does not detail error handling or return formats, but the core behavior is clear.

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?

The description is two sentences, with the primary action in the first sentence and the conditional in the second. Every word contributes to understanding the tool's behavior, with no fluff or redundancy.

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 two-parameter tool with no output schema, the description covers the main usage scenarios. However, it lacks information about return values, error conditions, or what happens when there are no attachments, which would be useful given the absence of an output schema.

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 coverage is 100% for both parameters, so the baseline is 3. The description essentially restates the conditional logic already present in the schema ('omit to just list attachments') and adds no additional parameter meaning beyond that.

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 uses specific verbs 'List' and 'download' with the clear resource 'attachments from an email'. It explicitly distinguishes itself from sibling email tools by focusing on attachments and explains the conditional behavior based on output_dir.

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 clearly states when to use each mode: omit output_dir to list, set it to download. This provides context for correct invocation, though it does not explicitly mention alternatives or exclusions.

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/injaan/ms365-email-cli-mcp'

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