Skip to main content
Glama
lokesh-sparrow

PNPC-MCP-Tally-Prime

create_rejections_out

Record outward rejections in TallyPrime by creating a Rejections Out voucher for goods returned to suppliers or job workers as defective, including stock items, quantities, and rates.

Instructions

Create a Rejections Out voucher in TallyPrime — records goods you're rejecting and returning outward (e.g. back to a supplier, or components you're sending back to a job worker as defective). Mirror of create_rejections_in. Same EXTRAPOLATED caveat and godown requirement apply. If creation fails with LINEERROR 'Voucher date is missing' even though the date field is set correctly, the date is outside Tally's active period (Alt+F2) — call set_period to cover it and retry (confirmed live).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesVoucher date in DD-MM-YYYY format
itemsYesOne or more stock items being sent out as rejected.
narrationNoNarration / description for the voucher
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 Rejections Out). 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.

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?

The description discloses several behavioral aspects: it creates a voucher (write operation), warns about the 'EXTRAPOLATED caveat' and godown requirement, and details a specific failure mode for voucherNumber with a workaround. Given the minimal annotations, this carries the burden well, though it doesn't cover all possible side effects.

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?

The description is concise at ~3 sentences, starts with the core purpose, and efficiently packs the mirror reference, caveat, and error handling without unnecessary fluff. It's well-structured and front-loaded.

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?

Given the complexity (4 top-level params, nested items), the description covers the purpose, typical use cases, and two key error scenarios (date period and voucher numbering). It doesn't mention preconditions like requiring a set company, but that's implied given the TallyPrime context and sibling tools.

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?

The input schema has 100% description coverage, so the baseline is 3. The tool description itself adds no extra parameter semantics beyond what's already in the schema; all parameter details are provided in the schema descriptions.

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 description clearly states 'Create a Rejections Out voucher', specifies it records goods being rejected and returned outward, and gives concrete examples (supplier, job worker). The mention of being a 'Mirror of create_rejections_in' helps distinguish it from the sibling tool.

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 explains when to use it (rejecting goods going out) and includes specific error handling instructions (calling set_period on date errors). However, it doesn't explicitly contrast with create_rejections_in or other create tools beyond the mirror reference, so it's clear but not fully explicit.

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