Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_get_current_employee

Retrieve the employee record linked to the currently logged-in ERPNext user to identify the active employee for timesheets, leave applications, or project actions.

Instructions

Get the employee record linked to the currently logged in user

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It implies an authenticated session but never states the auth requirement, and it says nothing about what happens when the logged-in user has no linked employee record (error, null, or empty result) — a realistic failure mode for this lookup.

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 redundant qualifiers and no restatement of the title. Every word constrains the scope of the lookup.

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 trivial zero-parameter read tool this is close to sufficient, but with no annotations and no output schema, the description could have said roughly what an employee record returns and what a missing link yields. As written, the agent must discover the return shape and failure behavior by calling it.

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

Parameters4/5

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

The tool takes zero parameters, so the schema has nothing to convey and there are no parameter semantics to explain. Baseline is 4 by the zero-parameter rule; the description correctly reinforces that the target is implicit rather than supplied.

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 pairs a specific verb (Get) with a specific resource (the employee record) and pins the scope to the currently logged-in user, which separates it from record lookups keyed by an explicit identifier. It does not name any sibling tool, so differentiation is inferential rather than explicit.

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 implied by the 'currently logged in user' framing: an agent can infer this is the tool for 'who am I / my employee profile' rather than for another user's record. There is no statement of when not to use it, no prerequisites, and no pointer to alternatives such as leave or timesheet tools that also key off the current user.

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