Skip to main content
Glama

List documents

list_documents
Read-only

List the caller's personal documents (metadata) from their active workspace, newest first. Read-only. Optionally filter by a text query over title / extracted text. Each item carries 'web_url' (the «Особисте → Документи» screen in the cabinet, block «Файли», where the person sees and opens the file) and 'download_url' (a direct signed link, valid ~15 min — list again for a fresh one, never store it). Files arrive via upload_document_base64 / request_upload_link or the «Файли» block of that screen.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world, so the safety profile is covered. The description still adds substantive behavior: newest-first ordering, filter scope over title/extracted text, and the ~15 minute expiry of the signed download link with an explicit 'never store it' warning, which an agent could not infer from any structured field.

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 with the core purpose, then constraints, then return-value notes; nearly every clause carries information. The embedded Ukrainian UI labels are dense but functional, though the final sentence about ingestion paths is only loosely relevant to the act of listing.

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?

With no output schema, the description usefully explains the returned fields (web_url screen location, download_url lifetime) and provenance of files. It is incomplete on pagination and the `limit` parameter, which matters for a listing tool with a 100-item cap.

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%, so the description must carry parameter meaning. It explains `query` well (text search over title / extracted text) but says nothing about `limit` — no default, no explanation that it caps page size or how to page beyond it — leaving one of two parameters undocumented in both places.

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?

States a specific verb and resource with scope: 'List the caller's personal documents (metadata) from their active workspace, newest first.' The '(metadata)' qualifier and 'personal' scope distinguish it from a general document listing, but no sibling is named explicitly, so the differentiation is only implied.

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?

Gives real usage context — optional text query filtering, and the instruction to re-list for a fresh signed link rather than storing it. However, it never says when to use this versus a tracked-documents or other listing sibling; the only sibling names appear to describe how files arrive, not as alternatives.

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