Skip to main content
Glama

run_checks

Checks a period before distribution for unmapped GL accounts, mapped actuals matching raw GL, and division/region rollups to consolidated totals.

Instructions

Pre-distribution checks: unmapped GL accounts, mapped actuals tie to raw GL, and divisions/regions roll up to consolidated.

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": {
      "period": "<period>"
    },
    "name": "run_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only the subject matter of the three checks. It does not say whether the tool is read-only or alters state, whether results come back as pass/fail flags or a list of offending accounts, or whether a failed check raises an error. For a validation tool with zero annotation coverage this is a significant gap.

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 front-loaded sentence with the key qualifier "Pre-distribution" first and zero filler. The clipped, fragment-style list of checks is dense but readable, and nothing in it is redundant.

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?

With no annotations, no output schema, and an undocumented required parameter, the description should explain what the agent gets back and how to interpret a failure, and it does none of that. What it does cover — the three checks — is good, but the definition remains incomplete for an agent that has to act on the result.

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 coverage is 0% on the single required parameter, so the description must compensate and does not: "period" is never mentioned, and its format (fiscal period vs. date range), and whether the period must be open or closed, are left entirely to guesswork. The only indirect hint is that actuals are tied to raw GL for some period.

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 the specific operation (pre-distribution validation) and enumerates the three checks performed: unmapped GL accounts, mapped-actuals-to-raw-GL tie-out, and division/region roll-up to consolidated. That is far more specific than the bare name run_checks. It stops short of a 5 because it never states the verb explicitly or contrasts the tool with the read-only siblings, though the validation framing is implicit.

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?

"Pre-distribution" is a real timing cue that tells the agent this belongs in the close/distribution workflow and not in ad-hoc reporting, which distinguishes it from get_actuals or variance_report. However, there is no explicit guidance on prerequisites (must the period be closed?), no statement of what to do with a failing result, and no named alternative. Usage is implied rather than stated.

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