Skip to main content
Glama

Check invoice and receipt allocations

check_receipt_allocation
Read-onlyIdempotent

Check arithmetic, duplicate allocations, missing row references, overallocated receipts and invoice balances. Send anonymous row numbers and integer INR paise; keep names, GSTINs and certificate numbers local. Up to 200 invoices, 200 receipts and 1000 allocations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoicesYes
receiptsYes
allocationsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: data-anonymization requirements (send row numbers only, keep names/GSTINs/certificate numbers local) and batch size limits. That is real value beyond the structured fields.

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?

Three tight sentences with no filler; the enumeration of checks leads, followed by input constraints and then limits. Efficient and front-loaded, though the limits sentence partially duplicates the schema's maxItems constraints.

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?

An output schema exists, so return values need not be described. The description supplies the checks performed, the input privacy contract, and the size ceilings for a purely computational validator, which is close to complete; only the meaning of the allocation row-linkage is left to inference.

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 description coverage is 0%, so the description must carry parameter meaning, and it partially does: it specifies that rows are anonymous row numbers and amounts are integer INR paise, which resolves the unit ambiguity that the schema's bare 'amountPaise' naming leaves. It does not, however, explain the invoiceRow/receiptRow linkage semantics of the allocations array, leaving the most complex parameter under-documented.

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 (Check) and enumerates the exact validations performed: arithmetic, duplicate allocations, missing row references, overallocated receipts, invoice balances. This is far more informative than the title alone and is trivially distinguishable from the doc-reading siblings. It stops short of 5 only because it doesn't phrase the resource in a single crisp noun phrase.

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 enumerated checks imply the situation in which the tool applies (validating a reconciliation batch), and the privacy instruction is actionable usage guidance. However, there is no explicit when-to-use vs. when-not framing and no named alternative among the siblings.

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.

Resources