Skip to main content
Glama

insync_list_attachments

Read-only

List files attached to a secure message using its master ID, returning each attachment's name and position so you can download the file without opening or marking the message read.

Instructions

List the files attached to a secure message, by the message’s master id (from insync_list_messages). Returns each attachment’s name and position; use insync_download_attachment with that position to retrieve the file. Listing does NOT open or mark the message read.

Input Schema

NameRequiredDescriptionDefault
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact projects each record to the fields a caller acts on; "full" keeps every field this server understands. (No "raw": the record is assembled here, not passed through from one endpoint.)
master_idYesThe message’s master id (TODOMasterId) from insync_list_messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds a non-obvious behavioral guarantee beyond that: listing does not open or mark the message read, which matters in a secure-messaging context. Missing only rate-limit or pagination behavior, which is not implied.

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?

Three tight sentences: purpose, return shape, and downstream chaining, plus a side-effect caveat. Front-loaded and every clause carries information.

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?

Covers input provenance, the shape of the return (name and position), and the next tool to call, plus the non-mutating guarantee. With no output schema present, the description still tells the agent what comes back, so nothing needed to invoke it correctly is missing.

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% and both parameters are fully documented in the schema, including the compact/full view enum. The description restates the master_id source and explains the returned position, which is useful chaining context but adds little beyond the structured fields. Baseline 3 applies.

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?

States a specific verb and resource (listing files attached to a secure message) and keys it to a master id sourced from insync_list_messages. An agent can distinguish it from insync_list_messages, insync_get_message, and insync_download_attachment without opening any schema.

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?

Explicitly routes the agent: get master_id from insync_list_messages, then pass the returned position to insync_download_attachment. It doesn't state when NOT to use it (e.g. for documents, which have their own list/download pair), but the positive usage chain is unambiguous.

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