Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_validate_user_story

Validate a Taiga User Story by URL and return its ID, title, and project. Use it before creating tasks to confirm the story exists and obtain the user_story_id.

Instructions

Validate a Taiga User Story by its URL and return its id, title and project. Use this before creating tasks to confirm the user story exists and to obtain the user_story_id.

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_url": "<user_story_url>"
    },
    "name": "erpnext_validate_user_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_story_urlYesTaiga User Story URL of the form https://<domain>/project/<slug>/us/<ref>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the return payload (id, title, project), which is valuable given the missing output schema, but it never says what happens when the URL is invalid, when the story does not exist, or whether an error is raised vs. a null result returned — the single most important behavior for a validation tool.

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?

Two tight sentences: the action and return values come first, the usage condition second. Every clause earns its place with no redundant restatement of the name.

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 one-parameter read/validation tool with a fully documented schema, the definition covers action, return fields, and the sequencing rationale. The remaining gap is failure semantics — what an agent should expect for a nonexistent or malformed user story — which matters for a tool whose entire job is validation.

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 single parameter documents the exact URL form (https://<domain>/project/<slug>/us/<ref>). The description adds only 'by its URL', which restates the schema, so the baseline 3 applies.

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 ('Validate a Taiga User Story') and states what comes back ('its id, title and project'), which is meaningful because no output schema exists. It is distinguishable from erpnext_create_user_story and erpnext_get_user_story_tasks, though it never directly contrasts itself with a read/get sibling.

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

Usage Guidelines4/5

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

It gives an explicit trigger: 'Use this before creating tasks to confirm the user story exists and to obtain the user_story_id.' That is a clear when-to-use tied to a concrete downstream step. It stops short of stating when this is unnecessary or which sibling to use if the story is already known to exist.

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