Skip to main content
Glama

Pinpal Jobs

List documents

list_documents
Read-only

Documents across clients, newest activity first: type, number, title, status, total, dates, labels. Filter by client, type, status, label, or a smart list.

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
typeNoquote, contract or invoice.
labelNo
clientNoThe client's id, or its exact name.
filterNowaiting: sent quotes and contracts; unpaid: sent or late invoices; pastdue: unpaid invoices past the due date in force; drafts; open: not closed; closed: paid, accepted, signed, declined, cancelled, written off.
statusNodraft, sent, late, accepted, signed, declined, paid, cancelled, written_off.

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 readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered structurally. The description still adds real value beyond them: the default sort (newest activity first) and the concrete set of returned fields, which matter because no output schema exists.

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 short sentences, front-loaded with the resource and default ordering, then the filter dimensions. Dense but purposeful; the comma-separated field list is slightly telegraphic yet wastes no words.

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 5-parameter, fully optional listing tool with no output schema, the description supplies the return shape, ordering, and filtering surface, which is close to what an agent needs to call it correctly. The main omission is any hint about pagination or result volume.

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 80%, so type, client, filter, and status are already well documented in the schema itself. The description's main addition is mapping the concept of "a smart list" onto the filter parameter, which is a modest gain over the structured fields; label remains 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 the resource concretely (documents) plus scope ("across clients"), default ordering ("newest activity first"), and the fields returned (type, number, title, status, total, dates, labels). An agent can tell this is a listing tool versus read_document/get_document-style siblings, though the description never names the single-document reader explicitly.

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?

"Filter by client, type, status, label, or a smart list" implies the intended use case of narrowing a collection, but there is no explicit when-to-use versus read_document or list_clients guidance, and no stated exclusions or prerequisites. Usage is inferable but not spelled out.

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