Skip to main content
Glama
sppandita85

erpnext-fast-mcp-server

by sppandita85

get_doctype_meta

Retrieve the field schema and metadata for a DocType to understand its structure before creating or updating documents in ERPNext.

Instructions

Fetch the field/schema definition (metadata) for a DocType.

Useful for discovering what fields exist before create_document/update_document calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doctypeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden. The verb 'Fetch' clearly indicates a read-only operation with no side effects. The phrase 'field/schema definition' adds precision about the nature of the response, though it doesn't discuss error handling or response format (covered by output schema).

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 concise sentences front-load the purpose and immediately provide a practical use case. No filler or redundant information; every word earns its place.

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 is simple (1 parameter, output schema present), and the description covers the primary purpose and usage context. It could mention that the doctype parameter is required, but that is already indicated in the schema, so the description is sufficiently complete for an agent to use it correctly.

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 the description must compensate. It mentions 'a DocType' which maps to the single 'doctype' parameter, but adds no details about required values or formatting. The meaning is inferable from the parameter name, but the description adds minimal value beyond the 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 uses the specific verb 'Fetch' and clearly identifies the resource as 'field/schema definition (metadata) for a DocType.' This unambiguously distinguishes it from sibling tools like get_document (which fetches a document) and list_documents.

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 explicitly states it is 'Useful for discovering what fields exist before create_document/update_document calls,' providing concrete context for when to use it. It doesn't explicitly mention alternative tools, but the use case is clear enough for an agent to choose it over siblings.

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