Skip to main content
Glama

List discussion files

list_chat_attachments
Read-onlyIdempotent

List the files attached to messages in one discussion, newest first, 50 per page. Returns attachments, hasMore, and nextCursor.

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": {
      "roomId": "<roomId>",
      "threadId": "<threadId>"
    },
    "name": "list_chat_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50.
cursorNonextCursor from the previous page.
roomIdYesChat room ID, from list_chat_rooms.
threadIdYesDiscussion ID, from list_chat_threads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is ordering ('newest first') and pagination semantics with named return fields (attachments, hasMore, nextCursor). That is useful behavioral context the annotations cannot express; it stops short of a 5 only because pagination mechanics are stated loosely as '50 per page' while the schema allows up to 100.

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?

A single front-loaded sentence that covers scope, ordering, page size, and return shape with no filler. Nothing in it is redundant with the annotations.

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 compensates by naming the returned fields and the pagination contract, and the schema fully covers inputs. For a simple read-only list tool little else is needed; only the loose '50 per page' phrasing versus the 1-100 limit is a minor imprecision.

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 every parameter is documented there, including the limit default of 50 and the cursor's origin from nextCursor. The description only restates the default page size, adding no meaning beyond the schema — baseline 3.

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?

The description states a specific verb and resource ('List the files attached to messages in one discussion') and adds ordering and page size, so an agent can distinguish it from the other attachment-list tools by scope. It does not explicitly name a sibling it differs from, which keeps it short of a 5.

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?

Usage is implied — it operates on exactly one discussion and requires roomId/threadId, whose provenance is documented in the schema. There is no explicit when-to-use versus alternatives (e.g. list_task_attachments or list_post_link_attachments) and no stated exclusions.

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