Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_create_user_story

Creates a new user story in a Taiga project from a subject and optional details like assignee, tags, and milestone. Returns the story id, ref, and URL so you can add tasks under it.

Instructions

Create a new User Story in a Taiga project. Returns the created user story id, ref and URL. Use the returned user_story_id with erpnext_create_taiga_tasks to add tasks under it.

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": {
      "project_slug": "<project_slug>",
      "subject": "<subject>"
    },
    "name": "erpnext_create_user_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags to apply to the user story.
statusNoUser story status name (e.g. "New", "In progress"). Defaults to the project default.
subjectYesUser story title/subject (required).
assigneeNoAssignee name (matched against Taiga project members).
milestoneNoOptional milestone (sprint) id to attach the user story to.
descriptionNoUser story description.
project_slugYesTaiga project slug the user story belongs to (e.g. "rupay-card").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full disclosure burden. It does add genuine value by naming the return fields (id, ref, URL), but it omits mutation-relevant behavior: required permissions, what happens with an unknown project_slug, duplicate handling, or whether tags/assignee failures abort creation.

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 action, then the return shape, then the follow-on call. Nothing is redundant and the chaining instruction is placed exactly where an agent needs it.

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?

With no output schema, the description compensates by naming the returned fields, and the follow-on call is made explicit, which is the main thing an agent needs for sequencing. Gaps remain around failure modes and permissions for a mutation tool with zero annotation coverage.

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 each of the seven parameters is already documented in the schema itself. The description adds no parameter-level detail (e.g., how assignee name matching works on ambiguity, or whether milestone ids come from a Taiga sprint list), so it lands at the baseline.

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 a new User Story') scoped to a named system ('in a Taiga project'), which is unambiguous and distinguishable from the task-creation sibling it names. It does not contrast with adjacent options such as erpnext_validate_user_story, so differentiation is only partial.

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?

Usage is implied by the chaining sentence: the returned user_story_id is meant to be fed into erpnext_create_taiga_tasks, which gives real workflow context. However, there is no explicit when-to-use/when-not, no prerequisites (project must exist, membership, permissions), and no mention of erpnext_validate_user_story as an alternative.

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