Skip to main content
Glama

list_collective_page_attachments

Read-onlyIdempotent

Retrieve files attached to a collective page, including embedded images, linked files, and neighboring files for folder pages, while excluding trashed items.

Instructions

List the files attached to a page: those in its attachments folder (images and files embedded in or linked from it) and, for a folder page (one with subpages, a shared page or the landing page), other files next to it. Trashed ones are not listed.

Args: collective_id: The numeric collective ID. page_id: The numeric page ID.

Returns: JSON list of attachments with id, name, mimetype, size, timestamp, type ("text" for the attachments folder, "folder" for files next to the page) and path (usable with get_file).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
collective_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.9/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), so the bar is lower. The description adds genuinely useful behavior: the folder-page case returns items typed 'folder' rather than 'text', and trashed attachments are omitted — details not derivable from annotations.

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?

Front-loaded summary sentence, then clearly delimited Args and Returns blocks. The folder-page clarification is slightly dense in one sentence but nothing is wasted padding.

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?

An output schema exists, so the Returns block is technically redundant rather than required, but it is consistent and harmless. Combined with the two named params and the trash/folder-page behavior notes, an agent has enough to invoke the tool correctly; only cross-tool routing guidance is missing.

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 coverage is 0% and both parameters are required, so the description must compensate. It names collective_id and page_id and labels both 'numeric', which is the minimum needed, but adds no constraints, formats, or ID-source guidance beyond the schema's integer typing.

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?

States a specific verb and resource ('List the files attached to a page') and immediately scopes it: the page's attachments folder plus, for folder pages, sibling files. This is distinguishable from nearby siblings like search_files, list_directory, and get_file without opening a schema.

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 clarifies what is included and that trashed items are excluded, which is useful boundary guidance, but never states when to use this tool versus alternatives such as search_files or list_directory for finding files. Usage is only implied by the resource scope.

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

Deploy Server

Other Tools