Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_get_user_story_tasks

Retrieve all tasks under a Taiga user story, including full descriptions, merge-commit SHAs, and Redmine issue IDs, to trace sprint test items to commits for release cherry-picking.

Instructions

Get ALL tasks under a Taiga user story (any assignee) with their FULL descriptions, plus the merge-commit SHAs and Redmine issue ids referenced in each description. Use this — not erpnext_get_taiga_tasks — when working from a user story URL/ref, e.g. to collect the 'Ready for test' points of a sprint and trace them to the commits to cherry-pick into a release branch.

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": {
      "user_story": "<user_story>"
    },
    "name": "erpnext_get_user_story_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoFilter by task status name (e.g. "Ready for test", "New", "Closed"). Omit to return every task in the story.
projectNoProject slug or name (e.g. "tcil-mercury-fx"). Required only when user_story is a bare ref.
user_storyYesUser story #ref (e.g. "1236") or full Taiga URL (e.g. "https://agile.credenceanalytics.com/project/tcil-mercury-fx/us/1236"). A URL also supplies the project.
include_attachmentsNoInclude each task's attachment metadata (default: false — costs one extra call per task).
include_descriptionsNoFetch each task individually to get its description, commits and redmine_issues (default: true). Set false for a fast subject/status-only listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: results are unfiltered by assignee, descriptions/commits/redmine_issues are fetched per-task, include_attachments "costs one extra call per task," and include_descriptions=false yields a fast subject/status-only listing. It stops short of describing return structure, pagination, or failure modes (bad ref, missing project), which keeps it below 5.

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?

Front-loaded with the core verb and resource, then the disambiguation and use case. The second sentence is long and packs the scenario into one clause-chained line, but every clause carries routing or behavioral information rather than 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 5-parameter read tool with no annotations and no output schema, the description covers selection rationale, cost tradeoffs, and the headline contents of the response. It is not fully complete because it never describes the response shape or what happens for tasks lacking descriptions, but an agent can call it correctly from what is given.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description still adds meaning by framing the status filter around a real workflow example ('Ready for test') and by explaining that a URL supplies the project, plus the speed/detail tradeoff behind include_descriptions. It does not document the exact behavior when user_story is a bare ref and project is omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get ALL tasks under a Taiga user story") with explicit scope ("any assignee") and enumerates the extra payload (FULL descriptions, merge-commit SHAs, Redmine issue ids). It also names the sibling it is not (erpnext_get_taiga_tasks), so an agent can discriminate it without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: "Use this — not erpnext_get_taiga_tasks — when working from a user story URL/ref." It backs this with a concrete scenario (collecting 'Ready for test' points and tracing them to commits for cherry-picking), leaving little to inference.

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