Skip to main content
Glama
ERPNext MCP Server

ERPNext MCP Server

erpnext_read

Reads the current ERPNext page's text plus numbered buttons, links, and fields, with an optional element scope for focused extraction.

Instructions

Read the current ERPNext page: its text and numbered buttons, links and fields.

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": "erpnext_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementNoRead only inside this element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the returned content, including that buttons are numbered (important for pairing with erpnext_click), and 'read' hints at a non-mutating operation. However, it is silent on large-page handling, truncation, and whether calling it has side effects such as refocusing the page.

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?

A single front-loaded sentence with no filler; the resource comes first and the payload description second. Every clause adds information about what is returned.

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 one-optional-parameter read tool with no output schema, the description does the essential work of telling the agent what the response contains. The remaining gap is the lack of any explicit statement about prerequisites (an open page) or relationship to erpnext_click/erpnext_open, but nothing critical is missing.

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 100%, so the single 'element' parameter is already documented as scoping the read to one element; the description adds nothing about it. Baseline 3 applies when the schema does the heavy lifting.

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 a specific verb and resource ('Read the current ERPNext page') and enumerates what comes back: text, numbered buttons, links and fields. It does not explicitly distinguish itself from siblings like erpnext_status, which could plausibly also report page state, so it falls short of a 5.

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?

Usage is only implied: 'the current page' signals a page must already be open and that the result feeds actions like erpnext_click on the numbered buttons. There is no explicit when-to-use, no when-not-to-use, and no named alternative such as erpnext_status or erpnext_guide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.