Skip to main content
Glama
cavishal04

TallyPrime MCP

by cavishal04

get_voucher

Fetch a single TallyPrime voucher by its voucher number. Returns the voucher data as JSON, with an optional company name to select the correct ledger.

Instructions

Get a single voucher by its voucher number.

Args: voucher_identifier: The voucher number as it appears in TallyPrime. company: Company name. If omitted, uses the configured default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyNo
voucher_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It usefully discloses that company is optional and falls back to the configured default, but it does not mention not-found behavior, error handling, or permissions. For a simple read operation this is adequate but not fully transparent.

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 short and front-loaded with the core purpose, followed by a compact parameter list. Every sentence contributes meaningful information, and there is no redundant or vague filler.

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 tool is a simple single-voucher getter with an output schema, the description covers the essential invocation details. The only minor gap is the lack of explicit guidance on when to use this tool versus search_vouchers, but this does not block correct usage.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by explaining both parameters: voucher_identifier is defined as the voucher number as it appears in TallyPrime, and company is documented with its default behavior. This adds real meaning beyond the bare 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?

The description uses a specific verb and resource: 'Get a single voucher by its voucher number.' It clearly distinguishes itself from sibling search_vouchers by emphasizing a single exact lookup rather than a search operation.

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

Usage Guidelines3/5

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

The description implies the tool should be used when a specific voucher number is known, but it does not explicitly state when to prefer this over search_vouchers or other alternatives. The usage context is inferable but not directly articulated.

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