Skip to main content
Glama
BUSY MCP Server

BUSY MCP Server

voucher-details

Read-onlyIdempotent

Fetches complete voucher data by voucher code or number, including header, ledger entries, items, taxes, bill references, and payment splits for auditing or review.

Instructions

Complete voucher by vch_code or vch_no: header (series, sale type, godown, audit fields), narration, accounting entries, items (qty, rate, discount, godown), bill sundries, bill references, order lines, GST and TDS lines, serial numbers, batches, billing and transport details, POS payment split.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "voucher-details"
  }
}

Input Schema

NameRequiredDescriptionDefault
fyNoFY start year, e.g. 2024 = FY 2024-25 (default: selected year)
vch_noNo
companyNoCompany code e.g. COMP0001 (default: selected company)
vch_codeNo
vch_typeNo
include_rawNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds the useful scope signal that the result is a complete voucher (header through POS split), but says nothing about defaults (fy, company), behavior when identifiers are missing or conflicting, or result size.

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?

It is front-loaded with the identifying keys, which is good, but the remainder is a long comma-separated inventory of returned fields that largely duplicates what the output schema already documents. That space would be better spent on selection rules and parameter meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the field enumeration is redundant and the real gaps are identification and defaults, which are unaddressed. For a tool where every parameter is optional and the key is a pair of identifiers, an agent needs explicit selection rules that are missing here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, so the description must compensate, and it does not. It mentions only vch_code and vch_no; vch_type, fy, company, and especially include_raw (which changes the shape of the response) get no explanation beyond what the schema itself states.

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?

Names the resource (voucher) and the lookup keys (vch_code or vch_no), and the enumerated payload makes it clear this is a full-detail fetch rather than a list. It is distinguishable from siblings like day-book or voucher-types, though it never uses an explicit verb like 'retrieve'.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives such as day-book or ledger-statement, and no prerequisite guidance. Critically, all six parameters are optional, yet the description never says that at least one of vch_code/vch_no must be supplied or what happens otherwise.

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