Skip to main content
Glama
tally-compliance-mcp

tally-compliance-mcp

by Rihu20

check_tds_missed

Identifies parties whose FY-to-date expenses crossed a TDS threshold with no or short deduction, and lists expense ledgers not mapped to a section.

Instructions

Parties whose FY-to-date expenses crossed a TDS threshold (194C/194J/194I/194H/194Q/194T/194A) with no or short TDS. Also lists expense ledgers that are not mapped to a section (never guessed).

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_tds_missed"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo
to_dateNo
from_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add one genuinely useful behavioral fact: unmapped ledgers are listed but never guessed at, so the agent knows the output distinguishes unmapped from compliant. It still says nothing about read-only nature, how 'short TDS' is computed, thresholds, or result shape.

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

Conciseness4/5

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

Two short sentences with no filler; the core detection condition is front-loaded and the secondary unmapped-ledger behavior is appended. It is slightly compressed as a noun phrase rather than a declarative sentence, but nothing is wasted.

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?

For a check tool with three undocumented, all-optional parameters and no output schema, the definition conveys the query concept adequately but leaves the calling contract underspecified: what a blank period means versus explicit dates, and what the result distinguishes are not stated.

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 description coverage is 0%, so period, from_date and to_date are entirely undocumented in both schema and description. 'FY-to-date' hints at a default scope but does not explain the relationship between period and the date range or their accepted formats.

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?

The description names a specific resource and condition: parties whose FY-to-date expenses crossed a TDS threshold (with sections enumerated) with no or short TDS, plus expense ledgers unmapped to a section. That is clearly distinguishable from sibling checks like check_duplicates or check_msme_43bh, though it never states a verb such as 'lists' or 'detects' explicitly for the first clause.

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 prerequisite or period assumption stated, and no alternative tool named (e.g., when to prefer check_cash_payments for cash-only TDS cases). The agent must infer that this is a read-only compliance audit.

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