Skip to main content
Glama

explain_control_totals

Identify and explain discrepancies between stated and recomputed batch and file control totals in ACH files.

Instructions

Explain stated versus recomputed batch and file control totals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
contentNo
batch_numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about whether this is a read-only operation, what input it needs (path, content, or batch_number) to locate the totals, what happens when all three optional parameters are omitted, or what the explanation contains. Only the core intent is conveyed.

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?

A single efficient sentence with the key concept (stated versus recomputed) front-loaded and no wasted words. It is perhaps too terse for a three-parameter tool, but there is no filler.

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

Completeness2/5

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

An output schema exists so return-value documentation is not required, but with zero annotations, 0% parameter coverage, and three optional parameters, the agent cannot tell how to invoke the tool or what makes a valid call. For an ACH control-total diagnostic, this leaves a large gap.

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% across three parameters (path, content, batch_number), so the description must compensate and does not. It only loosely gestures at 'batch and file' totals, leaving it unclear whether path and content are alternative sources, which one takes precedence, or how batch_number scopes the analysis.

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 verb (explain) and resource (stated versus recomputed batch and file control totals), which is distinguishable from the sibling repair_control_records_tool that fixes rather than explains. It falls short of a 5 only because it does not explicitly contrast itself with that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the word 'explain' versus the sibling 'repair' tool suggests this is for diagnosing a totals mismatch rather than fixing it. There is no explicit when-to-use statement, no prerequisites, and no named alternative.

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