Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_list_timesheets

Retrieve timesheets filtered by employee, status, or date range to review tracked work and billing status. Set a result limit to narrow listings.

Instructions

List timesheets with optional filters

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

Input Schema

NameRequiredDescriptionDefault
limitNoResults limit (default: 20)
statusNoFilter by status (Draft, Submitted, Billed, Cancelled)
to_dateNoFilter to date (YYYY-MM-DD)
employeeNoFilter by employee ID
from_dateNoFilter from date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses almost nothing. It does not state that the call is read-only, whether results are paginated, what the default ordering is, how many results come back when limit is omitted beyond the schema's "default: 20", or whether permissions restrict the visible set.

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 single sentence is front-loaded and contains no filler or redundancy, which is structurally sound. Its brevity, however, comes at the cost of information rather than being the product of tight editing of richer content.

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?

For a five-parameter list tool with no annotations and no output schema, the description is too thin: nothing explains the returned record shape, pagination behavior, or how the filters combine. An agent can invoke it, but cannot predict what a call with only from_date will yield versus a fully unfiltered call.

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 every parameter (limit, status, to_date, employee, from_date) is already documented with type and meaning. The description adds only the generic phrase "optional filters" and provides no extra semantics such as date-range inclusivity, status defaults, or whether employee accepts a name versus an ID.

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 gives a specific verb and resource ("List timesheets") plus a scope qualifier ("with optional filters"), so an agent knows exactly what the tool returns at a high level. It does not distinguish itself from near-siblings such as erpnext_get_my_draft_timesheets or erpnext_list_activity_types, so the reader must infer the difference from the name alone.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over alternatives; the only usage signal is the word "optional" before filters. No exclusions, no prerequisites, and no mention of which sibling to use for draft-only or per-employee listing needs.

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