Skip to main content
Glama

List Attachments

list_attachments
Read-only

List the files in the user's attachment library — id, filename, type, size.

Defaults to global company-context files plus files belonging to the current agent or chat. Set all_agents=True to list the user's whole library across agents. Use a returned id with read_attachment or attach_to_outreach.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
all_agentsNolist the whole library instead of just the current agent's files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / all_agents
      Added value: +{
      +  "default": false,
      +  "description": "list the whole library instead of just the current agent's files.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / all_tasks
      Removed value: -{
      -  "default": false,
      -  "description": "list the whole library instead of just the current task's files.",
      -  "type": "boolean"
      -}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, and the description does not contradict it. The description adds valuable behavioral context about default vs. expanded scope, which is beyond the schema, and confirms the fields returned. It doesn't mention permissions or rate limits, but for a simple read-only listing tool this is sufficient.

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 compact and front-loaded: the core action and output fields are in the first sentence. Subsequent sentences explain scoping and follow-up usage without redundancy, making it efficient and easy to scan.

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 one-optional-parameter read-only list tool with no output schema, the description is reasonably complete: it states what is returned, how scoping works, and how to use the results. Minor omissions like pagination or limits are not critical given the tool's simplicity.

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 schema covers all_agents 100%, so the baseline is 3. The description adds that all_agents=True lists 'the user's whole library across agents' and specifies the default includes 'files belonging to the current agent or chat', providing slightly richer context than the schema's 'current agent's files'.

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 states the specific operation 'List the files in the user's attachment library' and enumerates the return fields (id, filename, type, size). This clearly differentiates it from sibling tools like read_attachment and attach_to_outreach, which operate on individual attachments.

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?

It explains the default scope (global company-context files plus current agent/chat) and how to expand with all_agents=True. It also tells the agent to use returned ids with read_attachment or attach_to_outreach, giving practical downstream guidance, though it doesn't explicitly contrast with all alternative listing/reading tools.

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