Skip to main content
Glama
accounting-starter

accounting-starter

by techwithtim

accounting_record_payment

Records an incoming client payment in the local ledger with amount, currency, date, and source details; settle invoices separately through allocation.

Instructions

Record a payment; use allocation separately to settle an invoice.

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": {
      "client_id": "<client_id>",
      "amount_minor": "<amount_minor>",
      "currency": "<currency>"
    },
    "name": "accounting_record_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNomanual
currencyYes
evidenceNo
client_idYes
source_idNo
descriptionNo
amount_minorYes
received_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 burden. It does not say whether this creates a new immutable record, whether it is idempotent, what permissions or account state are required, or what the response contains — a significant gap for a mutation tool with three required 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?

A single compact sentence with the primary action front-loaded and no filler. Its brevity is a virtue structurally, even though the content is thin — under-specification is penalized in other dimensions.

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?

For an eight-parameter write tool with no annotations and no output schema, the description supplies only the workflow split from allocation. Nothing about required-field meaning, defaults, side effects, or results is covered, leaving the agent to guess at invocation details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across eight parameters, yet the description mentions none of them. Ambiguous fields such as source, source_id, evidence, received_date, and amount_minor (units, sign conventions) receive no explanation anywhere in the definition.

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 ('Record a payment') and implicitly contrasts it with the allocation workflow, so an agent can tell it is the payment-creation step rather than the invoice-settlement step. It stops short of naming the record type or scope precisely enough for a 5.

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 clause 'use allocation separately to settle an invoice' is real routing guidance, telling the agent this tool does not settle invoices. However, it gives no positive conditions for when to call this tool (e.g. after receiving funds, before or after invoicing) and no prerequisites.

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