Skip to main content
Glama

Attachment read

attachment_read
Read-only

What the owner sent you in this project (pictures, PDFs, Word files, text, recordings, videos), read from where it was saved. With no id: every file they sent, the newest first, each with its id, name, kind, where it was saved and whether it was read. With an id: that file whole, with its words or transcript. A message's own files are already in input.attached; read here what they sent earlier. Free.

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": "attachment_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesa file's id, or null for the list
projectNoThe project's id or exact name. Optional when the account has one project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 safety is covered, but the description goes further by disclosing return shape for both modes (id, name, kind, saved location, read status; full text/transcript for a single file), ordering (newest first), and cost ('Free'). The remaining gap is scale behavior — nothing about pagination, list size caps, or what happens with very large media — which matters for a file-reading tool.

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?

Dense but front-loaded: the resource and its scope come first, then the two modes, then the sibling exclusion. The opening clause ('What the owner sent you in this project ..., read from where it was saved') is slightly convoluted, and the long parenthetical file-type list could be trimmed, but no sentence is filler.

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?

There is no output schema, so the description carries the full burden of describing return values — and it does so for both the list and single-file paths, including ordering and the read flag. For a two-parameter read-only tool with annotations covering safety, an agent has everything required to call it correctly.

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 description coverage is 100%, and the schema itself already spells out 'a file's id, or null for the list', so the description's no-id/with-id explanation largely restates it. The project parameter is only gestured at ('in this project'), with no added guidance on naming versus id resolution. Baseline 3 is appropriate since the schema carries the semantics.

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 (read) and resource (attachments the owner sent in this project), enumerating the file kinds covered. It also draws a clean boundary against the implicit alternative — files attached to the current message already live in input.attached — so an agent can distinguish it from sibling readers like freezer_read or inbox_read without opening 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit branching rules: with no id, list every file newest-first; with an id, return that one file in full. It also states a when-not condition (do not use this for the current message's own files) and points at the correct place instead, which is exactly the routing information an agent needs.

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.