Skip to main content
Glama
sppandita85

erpnext-fast-mcp-server

by sppandita85

list_documents

Retrieve and filter ERPNext documents by DocType using Frappe syntax. Specify fields, sorting, and pagination to get exact records.

Instructions

List/search documents of a DocType.

filters: Frappe filter syntax, e.g. [["status", "=", "Open"]] or {"status": "Open"}. fields: list of fieldnames to return, e.g. ["name", "customer_name"]. Defaults to ["name"]. order_by: e.g. "creation desc". limit: max rows to return (default 20). limit_start: offset for pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
fieldsNo
doctypeYes
filtersNo
order_byNo
limit_startNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explains how filters, fields, order_by, limit, and limit_start affect the query and notes defaults. It does not mention authentication, rate limits, or error behavior, but these are generally less critical for a read-only list tool.

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?

The description is concise and well-structured, with a clear one-sentence purpose followed by a bulleted list of parameter explanations. Every sentence and example adds value without redundancy.

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?

The tool has an output schema, so return values are covered externally. The description addresses all six parameters and includes defaults and examples, making it functionally complete. It lacks explicit mention of read-only behavior or when to choose this over sibling list-type tools, but those are secondary gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description is the only source of parameter meaning. It provides detailed syntax examples for filters, field selection, ordering, and pagination offsets, adding substantial meaning beyond the raw 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 'List/search documents of a DocType' clearly specifies the action (list/search) and resource (documents of a DocType). It implicitly distinguishes itself from sibling tools like get_document (which retrieves a single document) and create/update/delete (which are mutations).

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 implies usage for listing or searching multiple documents, but it does not explicitly state when to use this tool over alternatives such as get_count, get_document, or run_report. There is no direct comparison or exclusion of other tool usage scenarios.

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/sppandita85/erpnext-fast-mcp-server'

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