Skip to main content
Glama
complydoc

complydoc

List shared documents

list_documents
Read-onlyIdempotent

Browse documents in shared folders and filter by file name to find the right file before opening it.

Instructions

List the documents in the folders the person shared, optionally only those whose name contains a word. Use it to find the file a person means before opening it.

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
pageNo1 for the first 50 documents, 2 for the next, and so on.
queryNoPart of the file name, any case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds real context beyond that by disclosing that results are restricted to folders the person shared and that the tool is intended as a pre-open lookup step. It does not mention result volume or pagination, though the schema parameter description covers page sizes.

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 sentences, front-loaded with the scope constraint and followed by the workflow reason to call it. Every clause carries information and nothing is padded.

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 zero-required-parameter read tool with a fully documented two-parameter schema and rich annotations, the description supplies the scope and the intended workflow step. The only gap is the lack of explicit sibling routing, which matters given the presence of search_documents and list_folders.

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 100%, and the schema already defines 'page' as 1 for the first 50 documents and 'query' as part of the file name in any case. The description only paraphrases the query parameter ('name contains a word'), adding no format or matching nuance beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource ('List the documents') and narrows scope to 'the folders the person shared', which tells an agent this is a permission-bounded listing rather than a global one. It stops short of naming how it differs from the sibling search_documents, even though the optional name-substring filtering overlaps with what a search tool would do.

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?

It gives one concrete usage scenario: 'Use it to find the file a person means before opening it', which links this listing to the open_document step. However, there is no when-not guidance and no explicit routing between this tool and search_documents or list_folders, so the agent must infer the boundary.

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