Skip to main content
Glama
laughable-9

invoice-check

by laughable-9

record_decision

Records invoice decisions in decisions.csv—such as pay, send letter, hold, dispute, resolve, or undo—so each verdict and follow-up action is logged for invoice review.

Instructions

Record Sanne's call in decisions.csv. decision: pay (pay in full), letter_ok (agree with the dispute: letter ready), sent (she sent the letter; sent_date YYYY-MM-DD, default today), hold (optional note), confirmed (unknown work order confirmed), not_ours (whole invoice disputed; reason required), disagree (verdict approve|dispute|hold, optional amount, reason required), resolved (closes a waiting dispute; kind credit_note|corrected_invoice|contractor_right|withdrawn and a reason), let_go (pay in full, all findings small; a repeat needs a reason), undo (back to the previous state). Old names approve, dispute, change still work. An overrule needs a reason. amount_excl_vat: amount disputed (letter_ok, disagree to dispute); defaults to the proposal.

Input Schema

NameRequiredDescriptionDefault
kindNo
folderNo
reasonNo
invoiceYes
verdictNo
decisionYes
sent_dateNo
linked_invoiceNo
amount_excl_vatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses substantial behavior: it writes to decisions.csv, defines a decision state machine, notes required reasons, defaults, legacy aliases, and that undo returns to the previous state. It still omits permissions, idempotency, and what the tool returns after recording.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded and most clauses carry useful constraint information, but the decision list is a dense semicolon-separated wall of text with nested parentheticals. It is appropriately sized for the domain but could be structured more scanably.

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?

For a 9-parameter mutation tool with no annotations, no output schema, and 0% schema coverage, the description covers decision semantics well but is not complete: it omits several parameters and does not explain the result of recording a decision. It is adequate but leaves clear gaps.

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 compensate. It explains decision values, reason requirements, sent_date format/default, amount_excl_vat behavior, verdict options, and kind options for resolved, but leaves invoice, folder, and linked_invoice unexplained, so meaningful gaps remain.

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 states a specific verb and resource: "Record ... in decisions.csv." The extensive decision-value list makes clear this is a decision-recording tool, distinct from the read/check-oriented siblings, though the phrase "Sanne's call" is internal jargon and the first sentence does not explicitly say it records an invoice decision.

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?

It gives detailed conditions for choosing each decision value, including when a reason is required, what defaults apply, and that old names still work. It does not explicitly say when to call this tool versus siblings like check_invoice or read_invoice, but the decision-value guidance is unusually concrete.

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