Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_create_weekly_timesheet

Creates a weekly timesheet with daily billable and non-billable hours for Monday through Friday, using defaults of 7 and 2 hours and allowing project and week selection.

Instructions

Create weekly timesheet: 7h Billable + 2h Non-Billable per day, Mon-Fri

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

Input Schema

NameRequiredDescriptionDefault
noteNoNote
weekNo"current", "last", or YYYY-MM-DD (Monday)
projectNoProject ID for billable work
exclude_daysNo0=Mon..4=Fri
billable_hoursNoBillable hours/day (default: 7)
non_billable_hoursNoNon-billable hours/day (default: 2)
billable_start_hourNoBillable start hour (default: 10)
non_billable_start_hourNoNon-billable start hour (default: 17)

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, yet it says nothing about permissions, whether the created timesheet is left in draft (a separate erpnext_submit_timesheet exists, but that is not stated), what happens if a timesheet already exists for the week, or idempotency. Only the hour defaults are conveyed, and those are duplicated in the schema.

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?

A single front-loaded sentence with zero filler and the preset values in the most scannable position. It is efficient, though so short that it borders on under-specification rather than tightness.

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 mutation tool with 8 parameters, no annotations, and no output schema, the definition is thin: the agent cannot tell whether project is effectively required, whether week defaults to "current", whether the result is a draft or submitted timesheet, or what a successful call returns. The complexity demands more than one clause of preset values.

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 one of the 8 optional parameters is documented in structured form; baseline is 3. The description restates the billable/non-billable defaults without adding format or interaction detail (e.g. how exclude_days interacts with the weekly total), so it adds little beyond the schema.

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 ("Create weekly timesheet") plus the preset it applies (7h billable + 2h non-billable, Mon-Fri), which tells an agent this is the canned weekly-timesheet creator rather than an arbitrary one. It does not explicitly contrast with siblings such as erpnext_create_custom_timesheet or erpnext_quick_timesheet, so differentiation is inferred rather than stated.

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 when-to-use or when-not-to-use guidance. Given several neighboring timesheet creators (custom, quick, plain), the agent must guess which one to pick; the description only implies "use this for the standard 7+2 week" without ever saying so or naming an alternative.

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