Skip to main content
Glama

list_documents

Lists documents (content instances) in an organization with pagination and filters for state, type, title, and instance ID.

Instructions

List documents (content instances) in the organisation. Paginated — check total_pages and paginate before concluding a document doesn't exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (responses are paginated; check page_number/total_pages/total_entries in the result and paginate past page one when searching)
sortNoSort: instance_id | instance_id_desc | inserted_at | inserted_at_desc | expiry_date | expiry_date_desc
stateNoFilter by state name
instance_idNoFilter by human-readable instance id (e.g. NDA0001)
content_type_nameNoFilter by content type name
document_instance_titleNoFilter by title
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It discloses the critical pagination requirement, which goes beyond a simple 'list' statement. However, it does not mention side effects, return format, or permissions, though the read-only nature is implicit.

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?

Two concise sentences, front-loaded with the primary purpose and followed by a precise pagination warning. No filler or redundant text.

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 the tool's simplicity and full schema parameter coverage, the description is mostly complete. It supplements the schema with a key pagination warning and hints at the response structure (total_pages). Lack of an explicit output schema is mitigated by the page parameter description, though return fields are not fully specified.

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?

The input schema provides 100% coverage with descriptive parameter docs. The description adds the pagination context which partially overlaps with the page parameter description, but does not add new meaning for other parameters. Baseline 3 applies due to full schema coverage.

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 'List documents (content instances) in the organisation', using a specific verb and resource. This distinguishes it from sibling tools like get_document, which fetches a single document, and other list tools.

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 advises paginating via total_pages before concluding a document doesn't exist, providing important usage context. However, it does not explicitly state when to use this tool versus alternatives like get_document or list_content_types, leaving the selection partially implied.

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/salsabeeljamal/wraft-mcp'

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