Skip to main content
Glama

Lovie Company Formation

Get Categorization Health

spend_get_categorization_health
Read-only

Report whether a company's categorization is healthy enough for its Money Graph to read truthfully: how much outflow resolves a category, where it lands, which counterparties are responsible for the rest, and whether payee tables will show names.

Input Schema

NameRequiredDescriptionDefault
monthsNo
companyIdYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
dateToNo
currencyNo
dateFromNo
lensOutflowNo
outflowTotalNo
payeeResolutionNo
payerResolutionNo
transactionCountNo
categorizedInflowNo
enrichmentBacklogNo
categorizedOutflowNo
uncategorizedInflowNo
uncategorizedPayeesNo
uncategorizedOutflowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish that this is a safe read operation. The description adds domain behavior beyond that: it reports outflow category resolution, where categorization lands, which counterparties explain the remainder, and whether payee names will render. These are meaningful traits an agent would not know from the annotations alone.

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 no filler; each clause adds a distinct dimension of the health report. It is dense but not wasteful.

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

Completeness3/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 values need not be explained, and annotations cover safety. However, the description leaves the time-window semantics of the months parameter unexplained and does not position the tool relative to nearby spend or categorization tools, leaving some completeness gaps.

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 only 50%, and the description provides no parameter semantics at all. The months parameter, which likely scopes the health window, is undescribed in both the schema and the description, so the agent cannot infer its meaning from the description.

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?

States a specific verb and resource: 'Report whether a company's categorization is healthy enough.' The diagnostic framing distinguishes it from sibling spend tools like spend_get_spend_by_payee, though it does not name an alternative explicitly.

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?

The opening clause implies a readiness/diagnostic use case ('healthy enough for its Money Graph to read truthfully'), which hints at when to call it. However, it names no explicit alternatives or exclusions versus tools such as get_spending_by_category or the transaction rule-gap tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.