Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_create_tasks_from_analysis

Create ERPNext tasks from analyzed merge request data and assign them to the current employee with a default Completed status.

Instructions

Create tasks in ERPNext from previously analyzed merge request data. Tasks are created with "Completed" status and automatically assigned to the current employee.

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": {
      "tasks": "<tasks>"
    },
    "name": "erpnext_create_tasks_from_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksYesArray of task objects from analysis to create in ERPNext
statusNoTask status (default: "Completed")
projectNoERPNext project name to assign tasks to (optional, can be null)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful behaviors: default "Completed" status and auto-assignment to the current employee. However it omits whether duplicate tasks are created on re-run, what permissions are needed, and what the tool returns. The flat claim that tasks are created with "Completed" status also sits awkwardly against the overridable status enum 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?

Two short sentences, front-loaded with the core action and followed by the behavioral note. No filler, though the second sentence could have spent its space on return values or idempotency instead of restating a schema default.

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 mutation tool with a nested task array, no annotations, and no output schema, the description should say at least what comes back (created task IDs/records) and how partial failures or duplicates are handled. It covers the happy path behavior but leaves those agent-relevant gaps open.

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 the schema already documents tasks, title length, source enum, commits, and project. The description adds only the status default and the auto-assignment behavior, which is marginal extra meaning rather than compensating detail.

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 states a specific verb and resource ("Create tasks in ERPNext") and scopes the source data to "previously analyzed merge request data," which separates it from generic task-creation siblings such as erpnext_create_taiga_tasks. It stops short of naming an explicit alternative, so it is clear but not fully differentiated.

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 phrase "from previously analyzed merge request data" implies the prerequisite that erpnext_analyze_merge_request must have run first, which is useful implied guidance. There is no explicit statement of when to choose this over erpnext_create_taiga_tasks or erpnext_export_tasks_to_erp, and no exclusion conditions.

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