Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_update_timesheet_note

Update the note on a draft ERPNext timesheet by providing its ID and new note text, so time entries stay documented and accurate.

Instructions

Update the note on a draft timesheet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "timesheet": "<timesheet>",
      "note": "<note>"
    },
    "name": "erpnext_update_timesheet_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesNew note for the timesheet
timesheetYesTimesheet ID (e.g., TS-00001)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden of behavioral disclosure. It conveys only that this is a mutation on a note; it does not say whether the note overwrites or appends, what happens if the timesheet is already submitted, whether permissions are required, or what is returned.

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 no redundant wording; the action and target come first. It is efficient but so terse that brevity shades into under-specification rather than crispness.

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 simple two-parameter mutation with a fully documented schema and no output schema, the description covers the core action adequately. The gap is behavioral: with no annotations, an agent gets no signal about failure modes on non-draft timesheets or about whether the previous note is replaced.

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%, and the schema already documents both the timesheet ID format and the note field, so the baseline is 3. The description adds only the 'draft' constraint on the timesheet parameter, with no extra semantics about note formatting or length.

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 (update), a specific sub-resource (the note), and a specific target (a draft timesheet), which distinguishes it from siblings like erpnext_submit_timesheet or erpnext_update_time_log. It stops short of naming which sibling to use when the timesheet is not a draft, so no explicit differentiation is given.

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?

The word 'draft' implicitly communicates the precondition that the timesheet must not yet be submitted, which is real usage guidance. However, it never says what to do instead for submitted timesheets, nor names any alternative sibling such as erpnext_submit_timesheet, so guidance remains implied rather than explicit.

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