Skip to main content
Glama

list_chat_message_attachments

Read-onlyIdempotent

List files attached directly to Huly chat messages or thread replies. Specify target kind, channel or DM, and message ID.

Instructions

List files attached directly to a Huly chat message target. target.kind supports channel_message, dm_message, and thread_reply; the tool resolves channel names and one-to-one DM participant display names for you.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesChat attachment target. Use channel_message for a channel message, dm_message for a direct-message message, or thread_reply for a thread reply.
limitNoMaximum number of matching attachments to return (default: 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesThe successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent.
warningsNoOptional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload.
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, setting a clear safety profile. The description adds value by noting that the tool resolves channel names and DM participant display names, which is a behavior not captured by annotations. However, it does not mention pagination details (default limit 50) or that results are limited to direct file attachments, which could be inferred. Overall, the description adds some context but is not rich.

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?

The description is extremely concise: two sentences. The first sentence states the primary purpose, and the second sentence elaborates on parameter details and a value-added feature. Every sentence serves a purpose, and there is no redundancy or filler. It is appropriately front-loaded.

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?

Given that the tool has only 2 parameters (1 required), an output schema (not shown but indicated), and annotations are present, the description is fairly complete. It covers what the tool does, the supported target kinds, and the name resolution behavior. It does not explain the output format, but that is handled by the output schema. A minor gap is not mentioning that attachments are file-based, but the term 'files' is used. Overall, it provides sufficient context for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides descriptions for both parameters (target and limit) with 100% coverage. The description goes beyond the schema by explicitly stating that target.kind supports the three conversation types and that the tool resolves channel names and DM participant display names. This adds practical context for the agent on how to construct the target parameter effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'List files attached directly to a Huly chat message target.' It specifies the exact resource and action, and distinguishes from siblings like add_chat_message_attachment (adds attachments) and delete_chat_message_attachment (deletes attachments). The mention of supported target kinds further clarifies scope.

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 provides context on when to use the tool by listing the supported target kinds (channel_message, dm_message, thread_reply) and the name resolution feature. However, it does not explicitly state when not to use it or mention alternatives like list_attachments (which might list all attachments in a conversation) or get_chat_message_attachment (for a single attachment). The usage guidance is implied but not comprehensive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dearlordylord/huly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server