Skip to main content
Glama
lokesh-sparrow

PNPC-MCP-Tally-Prime

create_job_work_in_order

Create a Job Work In Order in TallyPrime when acting as a job worker, booking an order to convert customer-supplied raw materials into finished items for delivery back.

Instructions

Create a Job Work In Order in TallyPrime — used when this company is the job worker, booking an order to process raw materials a customer will supply, into a finished item the company will deliver back. Each item line is the finished item expected to be delivered eventually, plus a nested list of components — the raw materials the customer is expected to supply for that item. Reverse-engineered from a real manually-created Job Work In Order's own export (same technique used for Sales Order): the component list lives nested two levels deep, inside each item's own order allocation (VOUCHERCOMPONENTLIST.LIST inside BATCHALLOCATIONS.LIST inside ALLINVENTORYENTRIES.LIST), each component carrying its own nested BATCHALLOCATIONS.LIST with a PARENTITEM back-reference to the item it belongs to. Confirmed live: this structure creates cleanly (no VAT/tax lines, no per-item ledger allocation — just the one balancing party ledger entry for the total). Same voucher-type-active prerequisite as other Order-class vouchers, and orderNumber + each item's dueDate are REQUIRED (same reasoning as create_sales_order). Distinct from create_job_work_out_order, which is for the opposite direction (sending materials out to a job worker).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesOrder date in DD-MM-YYYY format
itemsYesOne entry per finished item this company will deliver back to the customer.
narrationNoNarration / description
orderNumberYesREQUIRED — the order reference shown as 'Order no.' in Tally's UI. Independent of voucherNumber.
partyLedgerYesCustomer ledger name (the principal who is giving this job work order)
voucherNumberNoExplicit voucher number. Normally omit and let Tally auto-number — but some Tally configurations stop auto-numbering certain voucher types via the XML gateway (confirmed live for item-invoice types; unconfirmed either way for Job Work In Order). If creation fails with a blank EXCEPTIONS:1, check get_vouchers for the highest existing number of this voucher type and retry with voucherNumber set to the next one. Distinct from orderNumber.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.11.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations are all neutral false values and carry no safety profile, so the description carries the burden. It discloses the internal nesting structure (VOUCHERCOMPONENTLIST.LIST inside BATCHALLOCATIONS.LIST inside ALLINVENTORYENTRIES.LIST with PARENTITEM back-references), a live confirmation that creation produces no VAT/tax lines and a single balancing party ledger entry, and the voucher-type-active prerequisite. It does not address idempotency/duplicate behavior or the response format, but for a create tool the disclosed traits are substantial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the middle section spends several clauses on raw XML tag names (VOUCHERCOMPONENTLIST.LIST, BATCHALLOCATIONS.LIST, PARENTITEM) that an agent never constructs — the input schema already encodes that nesting via items[].components. Key operational facts (orderNumber and dueDate required, voucher-type-active prerequisite) appear late, trailing the reverse-engineering detail. Informative but noticeably padded.

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 high-complexity creation tool with no output schema and uninformative annotations, the description covers the business context, the nested data model, a live creation confirmation, the prerequisite, and the sibling distinction — far more than typical create tools. The main gap is that it never states what a successful call returns or how errors surface; the blank-EXCEPTIONS/voucherNumber workaround lives only in the schema. Minor omission against an otherwise thorough definition.

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 schema already documents every parameter, including the items/components nesting, godown auto-fill behavior, batchName defaults, and the voucherNumber EXCEPTIONS:1 workaround. The description adds business framing (finished item vs customer-supplied components) and the rationale for required dueDate/orderNumber, but much of that is echoed in the schema, so incremental value is modest — matching the baseline for high schema coverage.

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?

The opening sentence names a specific verb (Create), a specific resource (Job Work In Order), and the governing business context (this company is the job worker processing customer-supplied raw materials into finished goods). It also explicitly names the sibling it is not (create_job_work_out_order), so an agent can tell them apart 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?

States the defining directional condition for selection: use when this company is the job worker receiving materials from a customer, and names create_job_work_out_order as the alternative for the opposite direction. It also cites the voucher-type-active prerequisite and the create_sales_order precedent for the required orderNumber/dueDate fields, leaving no ambiguity about when the tool applies.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lokesh-sparrow/PNPC-MCP-Tally-Prime'

If you have feedback or need assistance with the MCP directory API, please join our Discord server