Skip to main content
Glama
accounting-starter

accounting-starter

by techwithtim

accounting_create_invoice

Records a confirmed invoice from evidence or owner request, capturing client, positive minor-unit amount, currency, and optional dates.

Instructions

Record a confirmed invoice (from evidence, or because the owner asked for it in chat). Amount must be positive integer minor units, for example 250000 for USD 2,500.00. Dates are YYYY-MM-DD.

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

Input Schema

NameRequiredDescriptionDefault
sourceNomanual
currencyYes
due_dateNo
evidenceNo
client_idYes
source_idNo
descriptionNo
issued_dateNo
amount_minorYes
invoice_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/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 does disclose one important behavioral gate (only confirmed invoices) and the required numeric/date encodings, but says nothing about duplicate handling, permission requirements, side effects, or what a successful call returns.

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 short sentences, front-loaded with purpose, then the two encodings that most often cause failures. No filler, though the parenthetical about evidence/chat could be folded more tightly into the usage sentence.

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 a 10-parameter mutation tool with no annotations and no output schema, the description is thin: it never explains client_id resolution, what evidence/source_id are for, duplicate invoice_number behavior, or error outcomes. An agent could still mis-invoke this despite the useful amount and date guidance.

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 coverage is 0% across 10 parameters, so the description must compensate and it only partly does. The amount_minor explanation (positive integer minor units with a 250000 = USD 2,500.00 example) and the YYYY-MM-DD date format resolve the two highest-risk ambiguities, but source, source_id, evidence, client_id, description, and invoice_number remain entirely undocumented.

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 confirmed invoice'. The 'confirmed' qualifier meaningfully narrows scope versus a draft-creation tool, though it does not explicitly name or contrast with any sibling such as accounting_create_expense.

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?

Gives implied triggering conditions — 'from evidence, or because the owner asked for it in chat' — which tells the agent when recording is appropriate. It offers no exclusions (e.g. when not to record, or what to do if the invoice is unconfirmed or already exists).

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