Skip to main content
Glama

outlook_list_folder_messages

Read-onlyIdempotent

List folder messages in Outlook. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "outlook_list_folder_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds genuinely non-schema information: explanations do not grant permission, the tool may require an account connection or permission change in Leash, and denials must not be bypassed. That is useful authorization context, but it reads as generic platform boilerplate and says nothing about result shape, pagination, or folder-id resolution.

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 purpose sentence is front-loaded and the total length is modest, with no redundancy. Two of the three sentences are generic policy boilerplate that could be attached to any Leash tool, so they earn their place only weakly, but nothing is confusingly ordered or padded.

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?

This is a nested-object tool with a fully unconstrained `query` sub-object, no output schema, and no enums, so the description carries unusual weight. It leaves an agent unable to construct a filtered or paginated call correctly, and it never explains what a folder id is or how it is obtained. Only the authorization side of the behavior is addressed.

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?

With 67% schema description coverage, the baseline is 3, and the description indeed adds no parameter meaning. This is a real loss here because the most complex parameter, the nested free-form `query` object (an anyOf map with no enum or property names), is entirely opaque in both schema and description, and the required folder `id` is never mentioned. The reason/context strings are documented in the schema itself, so repeating them would add little.

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?

The description opens with a specific verb and resource: 'List folder messages in Outlook.' An agent can tell this retrieves a collection of messages scoped to a folder. It does not, however, distinguish itself from the closely named siblings outlook_list_messages or outlook_read_folder, so the boundary between them is left to the schema.

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 when-to-use or when-not-to-use guidance: nothing tells the agent when this is preferable to outlook_list_messages or outlook_read_folder, nor what preconditions select it. The only procedural advice concerns supplying reason/context and following returned access guidance, which is invocation hygiene rather than tool selection guidance.

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.