Skip to main content
Glama
ComplyEaze

ComplyEaze Bridge: TallyPrime MCP server for Claude Desktop

Official

validate_masters

Read-only

Binds 1-100 ledger names against the live TallyPrime catalogue and returns exact, identifier, near-miss, or missing matches, so only exact live spellings can proceed to XML import.

Instructions

Bind 1–100 nonblank ledger names (at most 1024 characters each) against the live catalogue. An identifier embedded in a master name is matched before the name itself. match_state is exact, identifier, near_miss or missing; folded names remain near_miss candidates because this catalogue has no qualified scope to bind them. Only exact is admitted by build_import_xml, and a bound row alone carries exact_live_spelling. A near-miss is never resolved: it returns candidates with the rule that surfaced each, bounded to 25 names and 8192 UTF-8 bytes per requested name, with candidate_count, candidate_count_is_lower_bound and truncation reported. When candidate_count_is_lower_bound is true, the count is a conservative lower bound and must be shown as at least that many candidates. There is no ranking and no score. Each call appends metadata-only receipt lines (tool, company, counts, request and response fingerprints; no book content) to ComplyEaze Bridge's local log on this computer; it writes nothing to Tally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ledgersYes1 to 100 ledger names to bind against the live catalogue, each spelled as it will be written into a voucher.
company_guidYesThe company's company_guid, as list_companies returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.3
    • addedInput schema / properties / company_guid / description
      Added value: +"The company's company_guid, as list_companies returns it."
    • addedInput schema / properties / ledgers / description
      Added value: +"1 to 100 ledger names to bind against the live catalogue, each spelled as it will be written into a voucher."
  2. First observedv0.4.1

TDQS

A4.3/5.0
Behavior5/5

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

Annotations cover the read-only/idempotency profile, but the description adds non-obvious behavior: each call appends metadata-only receipt lines to a local log (tool, company, counts, fingerprints, no book content) while writing nothing to Tally. It also discloses candidate bounds (25 names, 8192 bytes), truncation reporting, and that a near-miss is never auto-resolved — all beyond what the annotations state.

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?

Purpose and scope are front-loaded, and virtually every sentence carries substantive semantics about matching or returns rather than filler. The trade-off is a dense, run-on block without structure, which burdens parsing but not length.

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?

There is no output schema, and the description does the heavy lifting by enumerating match_state values, the exact_live_spelling-only-on-bound-rows rule, and candidate_count/truncation reporting. It is thorough on semantics and side effects, though it doesn't describe the overall response shape (e.g. per-name result entries) or error behavior.

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?

Schema description coverage is 100% and the schema already documents both parameters, including the minLength/maxLength/pattern constraints that the description restates. The description adds only incremental meaning (identifier precedence inside a name, spelling-as-written), so the baseline 3 applies.

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?

Names a specific verb and resource ('Bind 1–100 nonblank ledger names against the live catalogue') and covers scope (count, per-name length). An agent can immediately tell this apart from sibling readers like masters or ledger_masters, since this validates names rather than listing them.

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 situates the tool in a workflow by noting that only 'exact' is admitted by build_import_xml and that folded names remain near_miss because there is no qualified scope to bind them, which tells the agent when a near_miss is acceptable versus blocking. It gives clear contextual usage but never names an alternative tool or an explicit when-not condition.

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