Skip to main content
Glama
MCP ERPNext
by sharat9703

erpnext_preview_software_release

Preview software release details before creation to review auto-detected fields, their sources, and missing required fields, then confirm the data before creating the release.

Instructions

Preview what a software release will look like BEFORE creating it. Shows all auto-detected fields, their sources, and any missing required fields. Use this to review the release details before calling erpnext_create_software_release.

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": {
      "mr_urls": "<mr_urls>"
    },
    "name": "erpnext_preview_software_release"
  }
}

Input Schema

NameRequiredDescriptionDefault
mr_urlsYesGitLab merge request URL(s)
productNoProduct name (optional - will show if auto-filled from template)
versionNoVersion string (optional - will show if auto-detected from MR branch)
customerNoCustomer name (optional - will show if auto-detected)
reviewerNoReviewer name (optional - will show if auto-filled from template)
redmine_idsNoRedmine ticket ID(s) (optional - will show if auto-extracted from MR)
template_release_urlNoURL of existing software release to use as template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present the description carries the full burden, and it does disclose that the operation is non-mutating by nature (preview before creating) and that the response enumerates auto-detected fields, their sources, and missing required fields. It does not state whether the preview has any side effects such as MR fetching or rate limits, which is a modest gap.

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 purpose, then the return content, then the routing instruction. No filler and no repetition.

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 7-parameter preview tool with no output schema and no annotations, the description covers the essential behaviour and describes what the response contains. Slightly incomplete on how a missing-required-field result should be acted upon, but nothing critical to correct invocation is absent.

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 each optional parameter already documents its auto-fill/auto-detect behaviour, so the schema does the heavy lifting. The description reinforces the auto-detection concept and names mr_urls implicitly as the input, but adds no syntax or format detail beyond the schema.

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 (preview a software release) with explicit scope: it shows what the release will look like before creation. The capitalised BEFORE and the contrast with erpnext_create_software_release make it unmistakable against that 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?

Explicitly directs the agent to call this before erpnext_create_software_release, which is clear when-to-use guidance tied to a named alternative. It stops short of stating when to skip the preview (e.g. already-verified payloads) or what to do if required fields are flagged missing.

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