Skip to main content
Glama
xuanji86

GunStore-POS Admin MCP

by xuanji86

frappe_list_documents

List documents from any Frappe doctype using filters, field selection, and pagination to retrieve records for GunStore-POS management.

Instructions

List documents of any doctype.

filters are Frappe-style: a list of [field, operator, value] (e.g. [["is_firearm","=",1],["status","=","Active"]]) or a simple {field: value} dict. limit defaults to 20; pass limit=0 for all rows. Call frappe_describe_doctype first if unsure of field names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doctypeYes
fieldsNo
filtersNo
limitNo
startNo
order_byNo
Behavior3/5

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

With no annotations, the description must disclose behavior. It explains filter format and limit semantics (default 20, limit=0 for all rows), but omits details on pagination (start parameter), sorting (order_by), and return format. Adequate but not comprehensive.

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?

The description is concise with two short paragraphs. The first line gives the core purpose, and the second adds useful detail. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters and no output schema, the description should be richer. It explains filters and limit but leaves fields, start, and order_by undocumented. Also lacks return format info, which is important for a listing tool. Incomplete for effective use.

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 0%, so description must compensate. It thoroughly explains filters format and limit behavior, but does not explain the fields parameter (which fields to return), start (offset), or order_by format. Partial coverage.

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 clearly states it lists documents of any doctype, which is a specific verb+resource. It distinguishes from siblings like frappe_get_document (single) and frappe_describe_doctype (schema).

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

Usage Guidelines4/5

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

The description explains when to use this tool (listing documents) and suggests calling frappe_describe_doctype first if field names are unknown. It does not explicitly state when not to use alternatives, but the guidance is clear enough.

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/xuanji86/gunstore-pos-mcp'

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