Skip to main content
Glama

List the documents in Phở

list_documents
Read-onlyIdempotent

List the documents in the user's Phở account that read_document can read: files read earlier through this tool and files the user uploaded on pho.chat (in a chat or a project). Use it when the user refers to a file they have ("my thesis", "the report I uploaded") or when the assistant cannot pass an attached file on: the user uploads it on pho.chat, then it shows up here. Needs a Phở sign-in.

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
limitNoHow many documents to list, newest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still adds value beyond them: the authentication requirement ('Needs a Phở sign-in') and the precise universe of documents returned (earlier reads plus pho.chat uploads). It stops short of describing pagination behavior or return shape beyond ordering.

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?

Two sentences, front-loaded with the purpose and scope before the usage conditions; every clause carries information. The middle clause describing upload origin is slightly dense, but nothing is padding and nothing important is buried.

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 simple, read-only listing tool with one optional parameter and no output schema, the definition covers scope, activation conditions and auth adequately. What an agent would still want — the shape of returned document entries — is a minor gap given the absence of an output schema.

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 100% and the single parameter's description already explains the default of 20, the 1-50 range and 'newest first'. The description never mentions the limit parameter, so it adds no meaning beyond the schema — the baseline of 3 is appropriate for a one-parameter, fully documented schema.

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 opens with a specific verb+resource ('List the documents') and immediately scopes it: documents 'that read_document can read', i.e. previously read files plus files uploaded on pho.chat. Naming read_document tells the agent exactly how this listing relates to a sibling tool, so it can be distinguished without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete activation conditions with example user phrasings ('my thesis', 'the report I uploaded') and a second scenario where the assistant cannot accept an attached file, plus the fallback flow (user uploads on pho.chat, then it appears here). This is explicit when-to-use guidance rather than implied context; a when-not statement is the only minor omission.

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.