Skip to main content
Glama

Search Outlook mail

m365_mail_search
Read-onlyIdempotent

The newest messages in a mailbox folder (inbox by default), or those matching a search: sender, subject, a preview and whether they are read. Free. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "m365_mail_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
folderNoinbox
mailboxNoOne of the mailboxes the agent may act as; optional when only one is connected.
unread_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds only a partial note on returned fields (sender, subject, preview, read flag) plus a duplicated, unexplained 'Free. Free.' token, which conveys no actionable behavior such as pagination, ordering beyond 'newest', or scope limits.

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

Conciseness2/5

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

The text is a sentence fragment with a dangling colon list and the word 'Free' repeated twice in a row — pure noise. There is no front-loaded statement of what the tool returns or how to call it, so the brevity reflects under-specification rather than efficiency.

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 5-parameter, zero-required search tool with no output schema and an overlapping sibling (m365_mail_read), the description should explain parameter roles and result shape. It covers only folder/query at a high level, omitting limit bounds (1-50), mailbox selection, and unread_only behavior, so an agent cannot call it confidently without reading the raw schema.

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 only 20%, so the description must carry parameter meaning and largely fails. It documents the folder default (inbox) and loosely implies query matches sender/subject, but limit, unread_only and mailbox are undocumented in both places, leaving three of five parameters opaque.

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?

The description does convey the core behavior: returning the newest messages in a folder (inbox default) or those matching a search, showing sender, subject, preview and read state. But it is written as a sentence fragment with no verb, and it never distinguishes this listing/search tool from the sibling m365_mail_read, so the boundary is left to inference.

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 explicit when-to-use guidance and no named alternative. The 'or those matching a search' clause only hints that supplying a query switches modes; nothing tells the agent when to pick this over m365_mail_read or how unread_only/limit interact with folder selection.

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