Skip to main content
Glama

Download attachments

huddo_download
Read-only

Get the attachments of one message (msgid from huddo_read or huddo_files). They come back in this result: images as images, text files as text, anything else as an embedded file. At most 10 MB per call.

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": {
      "msgid": "<msgid>"
    },
    "name": "huddo_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoNot needed: the message id finds its room
msgidYesmsgid of the message with the attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, closed-world safety. The description adds real value beyond them: it discloses the return encoding (images as images, text as text, other as embedded file) and a 10 MB per-call cap, which matters for planning. It does not say what happens when attachments exceed the cap.

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 short sentences, all front-loaded: action first, provenance second, return shape and size limit last. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-format burden and does so adequately, and the size cap is disclosed. The only gap is behavior on oversized attachments or partial downloads.

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%, so both parameters are already documented, including that 'room' is unnecessary. The description reinforces msgid provenance ('from huddo_read or huddo_files'), which is a modest addition beyond the schema; baseline 3 is appropriate.

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 ('Get the attachments of one message') and names the sibling tools (huddo_read, huddo_files) that supply the msgid. An agent can distinguish this from huddo_files, though the description never explicitly characterizes what huddo_files does differently.

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?

Implied workflow is clear: obtain the msgid from huddo_read or huddo_files, then call this. There are no explicit exclusions or when-not conditions, but the prerequisite chain gives solid context.

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.