Skip to main content
Glama
TRORBOT MCP Server

TRORBOT MCP Server

by tonymon

Get DDR compliance trends

get_delinquency_trends
Read-onlyIdempotent

Compute year-over-year federal agency delinquency referral compliance trends, rank agencies by metric change across a fiscal-year window, or show one agency's yearly series.

Instructions

Compute year-over-year trends in federal agency DDR compliance metrics.

Fetches agency-level data for a range of fiscal years from the Fiscal Data API, then ranks agencies by how much their selected metric changed from the first to the last year in the window. Useful for spotting systematic improvement or deterioration in referral compliance across the government or within one agency.

When agency_name is omitted, returns the top_n agencies by change magnitude across the whole government. When agency_name is provided, returns the year-by-year series for that single agency.

For "biggest movers" questions, set cfo_agencies_only=True (the 24 CFO Act agencies) or min_eligible_debt_usd — otherwise tiny agencies whose rates swing between 0% and 100% on a handful of debts dominate the ranking.

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

Input Schema

NameRequiredDescriptionDefault
paramsYesTrend window, agency filter, and metric options.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the bar is lower, yet the description still adds real behavior: it discloses the upstream Fiscal Data API fetch, the ranking-by-change algorithm, and the output shape switching between a top-N ranking and a per-agency series. The warning that unfiltered rankings get dominated by small agencies is a genuine analytical caveat, not a restatement of annotations.

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?

Front-loaded with the core purpose, then organized into fetch/rank, mode-switch, and filtering paragraphs, each earning its place. Slightly long for the amount of new information, but no sentence is filler.

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

Completeness5/5

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

Given a rich output schema and full annotation coverage, the description supplies everything an agent still needs: window semantics (inclusive fiscal years), the ranking criterion, the two operating modes, and the small-agency distortion caveat. Nothing required to call it correctly is missing.

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 coverage is 100% and the schema descriptions already explain top_n's dependency on agency_name, the CFO Act filter, and the min_eligible_debt_usd rationale, so the description largely restates that. It does tie the parameters to question intent ('for biggest movers questions...'), which adds modest interpretive value, but there is little meaning beyond the schema here.

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?

States a specific verb and resource — compute year-over-year trends in federal agency DDR compliance metrics — and immediately clarifies the mechanics: fetch fiscal-year data, then rank agencies by change from first to last year in the window. That operational definition lets an agent distinguish this from siblings like query_receivables or list_agencies 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?

Gives explicit conditional guidance: omit agency_name for a government-wide top-N ranking, supply it for a single-agency year-by-year series, and use cfo_agencies_only or min_eligible_debt_usd for 'biggest movers' questions. It even explains why (tiny agencies swinging 0-100% on a handful of debts). It stops short of naming an alternative sibling for raw-data lookups, so it is clear context rather than a full when/when-not/alternatives map.

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