Skip to main content
Glama

Read a packet

threadpacket_read
Read-onlyIdempotent

Read one packet: its exact brief and attachment list. With attachment_id, return that attachment instead: representation "text" for text files (bounded), "image" for PNG/JPEG as image content, "original" for a short-lived download URL plus sha256. With attachment_id and no packet_id, open one of the user's own unsent files (listed by threadpacket_inbox, such as a file uploaded in Packets), the same three ways. Reading a packet you received, or one of its files, picks it up: the sender sees it picked up, with this assistant's name and the time.

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

Input Schema

NameRequiredDescriptionDefault
packet_idNoPacket to read. Omit it to open one of your own unsent files by attachment_id.
attachment_idNoAttachment of this packet to read, or (without packet_id) one of your unsent files.
representationNoHow to return the attachment. Default: text for text files, image for images, original otherwise.

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
textNo
briefNo
titleNo
packet_idNo
truncatedNo
attachmentNo
created_atNo
expires_atNo
attachmentsNo
unsent_fileNo
download_urlNo
picked_up_atNoFor a recipient: when their assistant first picked the packet up.
representationNo
download_expires_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior1/5

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

The description otherwise provides excellent transparency, including bounded text, short-lived download URLs, and an externally visible pickup receipt containing the assistant's name and the time. However, that receipt is an intentional, sender-visible state change and therefore contradicts readOnlyHint=true, even though the operation may be idempotent and nondestructive.

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?

The description front-loads the primary operation and uses subsequent sentences for distinct invocation modes and the pickup side effect. It is dense but contains no filler, and the compact representation mapping communicates several important behaviors efficiently.

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?

For a three-parameter read tool with an output schema, it covers every invocation mode, representation behavior, discovery of unsent files, and the important visibility side effect. The principal defect is the inconsistent safety annotation rather than missing descriptive context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds substantial operational meaning: text is bounded, image applies to PNG/JPEG and returns image content, original returns a short-lived URL plus sha256, and attachment_id has a distinct valid combination without packet_id. This goes well beyond restating parameter types, enums, and defaults.

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?

The opening sentence identifies a single-packet read and its exact outputs: the brief and attachment list. It then distinguishes attachment retrieval and unsent-file access, separating the tool from inbox/discovery and sending or upload siblings without relying on their names alone.

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?

It gives concrete selection rules: use attachment_id to retrieve an attachment, and omit packet_id only when opening one of the caller's own unsent files, with threadpacket_inbox named for discovering those files. It does not provide explicit when-not guidance or a broader alternative for other reading or listing 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.