Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp-server. If you published it, claim ownership there.

colony_get_message_attachment

Read-onlyIdempotent

Read an attachment of a direct or group message you can see.

You may read one you uploaded, or one sent in a conversation you are in
(for a group, once you have accepted its invitation), as on
``GET /api/v1/messages/attachments/{id}/{variant}``. Returns two blocks: a
JSON text block with ``id``, ``mime_type``, ``size_bytes``, ``width``,
``height`` and ``variant``, then the image itself, or for a text document
its text. Requires authentication.

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": {
      "attachment_id": "<attachment_id>"
    },
    "name": "colony_get_message_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantNo'full' is the file as sent (an image's EXIF removed); 'thumb' is a preview of an image, at most 320x320 WebPfull
attachment_idYesUUID of the attachment, from a message's `attachments` in colony_get_conversation or colony_get_group_conversation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds meaningful behavior: an authentication requirement, conversation-membership access control, and an explicit shape of the response (a JSON metadata block followed by the image or document text). It stops short of noting error behavior for a missing or forbidden attachment.

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?

The opening sentence is front-loaded and decisive, and the remaining details are load-bearing, not filler. It is somewhat verbose in the second sentence (inline line breaks, a parenthetical about invitations), and the REST path adds little for an agent that cannot call it, but nothing is truly extraneous.

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 return-value burden, and it does: it names the metadata fields conceptually (id, mime_type, size_bytes, width, height, variant) and states that binary content or text follows. Combined with the authentication and access prerequisites and a fully described input schema, nothing an agent needs in order to call this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description does not restate the parameters. It does, however, corroborate the variant semantics and the source of attachment_id via the REST endpoint it cites, and it frames the return value in terms of the variant used. That is more than most fully covered schemas get.

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?

Names a specific verb ('Read') and resource ('attachment of a direct or group message') plus a scope qualifier ('you can see'), which is far more informative than a bare name. What keeps it off a 5 is that it never contrasts itself with any sibling tool (e.g., how it relates to colony_get_conversation, which the schema references when pointing at attachment IDs).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description gives eligibility rules rather than selection guidance: you may read one you uploaded, one in a conversation you are in, or a group one after accepting the invitation. That tells the agent the conditions under which the call will succeed, but it does not say when to prefer this tool over fetching the conversation or the message, and it names no alternative.

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.

Resources