Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_export_tasks_to_erp

Exports tasks to ERPNext as Developer Task documents, resolving developer employee codes, mapping task types to categories, and normalizing complexity for consistent task records.

Instructions

Export tasks to ERPNext as "Developer Task" documents. Resolves the developer (employee code) from a name when not provided, maps the Taiga task_type to an ERP category, and normalizes complexity. Returns created ids, in-batch skips, and failures.

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

Input Schema

NameRequiredDescriptionDefault
tasksYesTasks to export to ERPNext Developer Task.

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. It usefully discloses that this is a write operation producing ERPNext documents, that it performs lookups and normalization internally, and that the response reports created ids, skips, and failures. It omits permission requirements and whether deduplication applies across batches rather than only within one.

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?

Three short sentences, front-loaded with the core action and followed by the resolution logic and return shape. Every sentence contributes and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-array-parameter tool with a richly documented nested schema and no output schema, the description covers what it does, how fields are resolved, and what comes back. The main remaining gap is guidance on when to choose it over sibling creation tools.

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 coverage is 100% and every nested field already carries its own description, including the category-overrides-task_type and developer-skips-lookup rules. The description restates those semantics at a higher level without adding new detail such as accepted complexity synonyms or date formats, so the schema does the heavy lifting.

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 names a specific verb and resource ('Export tasks to ERPNext as "Developer Task" documents') and enumerates the transformations it performs (developer resolution, task_type→category mapping, complexity normalization). It does not explicitly differentiate itself from sibling creators such as erpnext_create_taiga_tasks, so it falls short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named even though siblings like erpnext_create_taiga_tasks and erpnext_create_tasks_from_analysis look adjacent. Batch semantics are only hinted at indirectly through phrases like 'in-batch skips' and 'dedupes within the batch'.

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