Skip to main content
Glama
TRORBOT MCP Server

TRORBOT MCP Server

by tonymon

Validate a draft TROR quarterly submission

validate_tror_submission
Read-onlyIdempotent

Validate a draft quarterly TROR submission before filing by computing derived lines and referral compliance rates, checking consistency, and comparing results with the prior published quarter.

Instructions

Validate a federal agency's draft quarterly TROR submission before it is filed.

Takes the TROR Form 05 lines that drive referral compliance: Part I-A (receivables and collections, fiscal-year-to-date), the Part I-C delinquency total, and Part II-B section 1 (debt eligible for referral to the Treasury Offset Program at 120 days, with ineligible debt, exceptions, and debt referred). Enter every amount as a positive figure; the tool applies the form's signs.

It then:

  1. Computes the form's derived lines: ending balance (Part I-A line 7), debt eligible for offset (1H), debt required to be referred (1M), and the balance remaining to be referred (1P).

  2. Computes the compliance rate, referred ÷ required, on a dollar and an account basis: the same measure Treasury publishes on Fiscal Data.

  3. Checks the lines for consistency and that the quarter has closed.

  4. Compares the draft rate with the last published quarter (live API) at the draft's level: the bureau's row when bureau_name is given, else the agency's.

No data is persisted. The output is a receipt the agency can review and correct before formal filing.

Returns: { validation_status, receipt_id, computed_lines, checks, prior_quarter }

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "params": "<params>"
    },
    "name": "validate_tror_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesDraft TROR Form 05 lines for the agency and quarter.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description discloses that nothing is persisted, enumerates the four derived line computations, the two-basis compliance rate, the consistency and quarter-closed checks, and that it performs a live API comparison against the last published quarter at the draft's level. It also discloses the top-level return keys, so an agent knows the outcome arrives as a receipt rather than a write.

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?

Purpose is front-loaded in sentence one, followed by the input grouping, the four numbered behaviors, the no-persistence guarantee, and the return keys. The numbered list earns its place by decomposing a genuinely multi-step tool, and there is no filler prose.

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?

For a complex tool with 18+ nested parameters and an output schema, the description covers inputs, computations, checks, comparison baseline, and side-effect posture. The remaining gap is that it doesn't say what a failed validation looks like beyond the validation_status key or what the checks actually test, so an agent cannot predict failure conditions.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a real global convention not obvious from individual field docs: every amount is entered as a positive figure and the tool applies the form's signs. It also groups parameters by form line (Part I-A, I-C, II-B) and explains that bureau_name selects which published row the comparison uses, which is semantic context beyond the field descriptions.

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 first sentence states a specific verb and resource ('Validate a ... draft quarterly TROR submission') and scopes it in time ('before it is filed'). Combined with 'No data is persisted' and 'the output is a receipt,' an agent can immediately distinguish this from the read-only query siblings and from any formal filing action without opening the schema.

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?

The description establishes clear context: use it on a draft, before filing, and the result is reviewable and correctable. It does not state explicit exclusions or name an alternative tool (e.g. when to use query_receivables instead), which keeps it below a 5, but the intended moment of use is unambiguous.

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