Skip to main content
Glama
accounting-starter

accounting-starter

by techwithtim

accounting_create_expense

Record a confirmed expense in the SQLite ledger with exact minor-unit amount and currency, avoiding inferred or uncertain values. Use it to book evidenced costs against a client.

Instructions

Record a confirmed expense, never infer uncertain amounts or currency.

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_create_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNomanual
categoryNo
currencyYes
evidenceNo
client_idYes
source_idNo
descriptionNo
amount_minorYes
incurred_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 provided, so the description carries the full behavioral burden. It implies a write operation and warns against guessing values, but says nothing about duplicate handling, required permissions, reversibility, or what a successful call returns. For a mutation tool with zero annotation coverage this is a substantial gap.

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 single sentence is front-loaded and free of filler, but it is undersized for a 9-parameter mutation tool. Brevity here reads as under-specification rather than efficient conciseness.

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?

Given nine parameters, three of them required, no annotations, no output schema, and 0% schema coverage, one sentence is far too thin. An agent would lack the information needed to populate the parameters or anticipate the call's behavior.

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 0% across 9 parameters, and the description only touches on amount and currency ('amounts or currency'). It says nothing about client_id, category, source, source_id, evidence, incurred_date, or description, so most parameters remain undocumented in both schema and 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?

The description states a specific verb and resource ('Record a confirmed expense'), which distinguishes it from siblings like accounting_create_invoice or accounting_record_payment. It does not explicitly name an alternative, but the action and object are unambiguous.

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 'never infer uncertain amounts or currency' gives a real precondition: only record when the amount and currency are confirmed. However, it offers no guidance on when to choose this over sibling tools such as accounting_record_payment or accounting_add_document, and no exclusions.

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