Skip to main content
Glama
tally-compliance-mcp

tally-compliance-mcp

by Rihu20

check_duplicates

Detect duplicate accounting vouchers in TallyPrime by matching party and supplier invoice number, or amount, date, and party to prevent double entries.

Instructions

Same party + same supplier invoice number entered twice; same amount + date + party.

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": "check_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo
to_dateNo
from_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it only discloses the matching logic. It says nothing about whether the check is read-only, what scope it scans by default, whether it flags or blocks entries, or what the results look like.

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

Conciseness2/5

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

It is short with no filler, but it is a sentence fragment with no verb and no front-loaded statement of purpose. Brevity here reflects under-specification rather than disciplined concision.

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

Completeness1/5

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

With no annotations, no output schema, and no documented parameters, the description is the only source of information and it provides only matching rules. An agent cannot tell how to scope the scan or what it will receive back, which is inadequate for a three-parameter check tool.

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

Parameters1/5

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

All three parameters (period, from_date, to_date) have 0% schema description coverage, so the description must compensate and does not. The word 'date' in the text refers to a matching criterion, not to the from_date/to_date scoping parameters, so it adds no usable parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Same party + same supplier invoice number entered twice; same amount + date + party' does convey the duplicate-detection rules, which is real information about what the tool looks for. However, it never states a verb or resource (scan vouchers, find duplicate entries), so an agent must infer the operation from the tool name alone.

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 when-to-use guidance, no mention of when not to run it, and no routing to siblings such as check_negative_balances or reconcile_2b. The agent is left to guess whether this is a pre-close audit check, a data-entry validation, or something else.

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