Skip to main content
Glama

List a task's attachments

taskthread_list_attachments
Read-onlyIdempotent

The files attached to one task: id, name, type, size, and whether taskthread_read_attachment can read it.

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": {
      "taskId": "<taskId>"
    },
    "name": "taskthread_list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful context by exposing per-file readability, which hints at a list-then-read workflow. It says nothing about pagination, ordering, empty results, or behavior when the task ID is invalid, which are the remaining gaps for a list operation.

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?

One compact sentence fragment with the resource front-loaded and zero padding. It is efficient, though the phrasing is elliptical and the missing verb makes it read more like a field note than a definition.

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?

There is no output schema, so enumerating the returned fields is genuinely valuable, and annotations already carry the safety and idempotency profile. For a one-parameter, non-destructive list tool this covers the essentials, with only pagination and failure-mode behavior left unstated.

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% for the single taskId parameter, so the description must compensate. Saying the files belong to 'one task' confirms taskId is the owning task identifier, but it does not state the ID format, source, or whether an unknown ID errors or returns an empty list. This is partial compensation, not full.

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 the resource precisely ('the files attached to one task') and enumerates the returned fields (id, name, type, size, readability). It also implicitly differentiates itself from taskthread_read_attachment by reporting whether that tool can read each file. The verb 'list' is only carried in the name, so it falls just short of a full verb+resource statement.

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

Usage Guidelines2/5

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

It scopes the tool to a single task but gives no when-to-use guidance, no exclusions, and no routing to alternatives. An agent is left to infer how this differs from taskthread_list_files or when to follow up with taskthread_read_attachment. Only implicit usage is conveyed.

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