Skip to main content
Glama

List attachments

list-attachments
Read-only

Lists attachments for a specific email using its message ID so users can review files included in an Outlook message.

Instructions

Lists the attachments of a specific email

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": {
      "id": "<id>"
    },
    "name": "list-attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMessage id

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered, and the description adds only that results are scoped to one email. It does not mention whether listing is paginated, whether attachment bodies/metadata are included, or how it differs from read-attachment. With annotations and an output schema present, the remaining gap is modest.

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 short sentence, front-loaded with the verb, with zero wasted words. It is efficient but under-informative rather than padded, so conciseness is good even though content is thin.

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?

An output schema exists, so return values needn't be described, and a one-parameter read tool is inherently simple. However, a list tool sitting among read-attachment and download-attachment should say how it relates to them, and that guidance is absent.

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% with a single required "id" parameter documented as "Message id", so the schema carries the parameter meaning. The description reinforces that the id refers to an email but adds no format or constraint detail beyond the schema — the baseline 3 applies.

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 and resource ("Lists the attachments") scoped to "a specific email", so the agent knows the input is a message id. It never distinguishes itself from sibling tools like read-attachment or download-attachment, so an agent can't rule out overlap from the description alone.

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?

No when-to-use guidance and no alternatives named; the siblings read-attachment and download-attachment are obvious adjacent actions but the description doesn't say which to pick. The only implicit guidance is that a message id is required.

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