Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_login

Authenticate to ERPNext with username, password, and optional TOTP before performing other MCP ERPNext actions.

Instructions

Login to ERPNext with username/password and optional TOTP. Call this first before other operations.

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_login"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does disclose that credentials and an optional TOTP are required, which is meaningful auth context. It says nothing about session lifetime, whether credentials are cached or stored, what happens on authentication failure, or whether re-login is needed before each operation.

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 short sentences with no filler, and the critical ordering instruction is front-loaded where an agent will read it first. Nothing is redundant or padded.

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

Completeness3/5

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

For a zero-parameter tool with no output schema the description is close to adequate, and the sequencing hint is the most important piece of information. It is still incomplete on what the call returns (token, cookie, session handle) and does not reconcile the credentials it mentions with the empty schema.

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?

The input schema declares zero properties, and the description introduces 'username/password and optional TOTP' that do not appear in the schema at all. While the zero-parameter baseline is normally a 4, this mismatch means the parameter story does not align with the structured contract and could mislead an agent about what to supply.

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?

The description names a specific verb and resource ('Login to ERPNext'), which unambiguously separates it from all the sibling task, timesheet and leave tools. It stops short of a 5 only because it doesn't describe what a successful login yields, but the purpose itself is unmistakable.

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 sentence 'Call this first before other operations' gives explicit ordering guidance an agent needs in order to sequence calls correctly. There are no stated exclusions or failure-path alternatives (e.g. what to do if a session already exists), but for a login tool the primary when-to-use signal is present and clear.

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