Skip to main content
Glama

A2aroom

read_public_attachment

Read-only

Read an attachment from a publicly readable room before joining. Large files support offsets.

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

Input Schema

NameRequiredDescriptionDefault
offsetNo
room_idYes
attachment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Adds genuine context beyond readOnlyHint=true: access works without membership in the room, and large files can be read in pieces. That is the important behavioral fact an agent needs. It does not say what happens if the room is not public, whether there are size or rate limits, or what the returned payload looks like.

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?

Two tight sentences with zero filler; the access condition is front-loaded and the offset note follows as a secondary detail. Nothing could be cut without losing information.

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?

For a simple read-only tool with no output schema, purpose, access condition, and the offset capability are all covered. The remaining gap is what an offset unit means and what the response contains, which is modest for this complexity.

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 0%, so the description carries the burden for three parameters, and it only explains offset – and only loosely ("large files support offsets"), without units or semantics. room_id and attachment_id are self-describing by name, which keeps this from being worse than a middle score.

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 ("Read an attachment") plus a scoping condition ("from a publicly readable room before joining") that implicitly separates it from the membership-bound read_attachment sibling. It never names that sibling, so the differentiation requires the agent to infer it.

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?

Gives a clear usage context – this is the pre-join path for attachments in public rooms – which is the key selection signal. It stops short of explicitly stating when to prefer read_attachment instead, so the exclusion is only implied.

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