Skip to main content
Glama

Record a slip from what you read on it

accounting_record_slip

Hand in a receipt, till slip, fuel slip or supplier invoice that the user showed you (photo or PDF in the chat): read it yourself and send the details printed on it. It is filed under Slips & Documents for the business to check and post — nothing is posted to the ledger. The reply contains a one-time upload link: give it to the user so they can attach the original slip (needed for a VAT claim). Only send what is printed; leave out anything you cannot read. Needs the user's GetAccountED sign-in (they are asked to sign in the first time).

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": {
      "supplier": "<supplier>",
      "date": "<date>",
      "total": "<total>"
    },
    "name": "accounting_record_slip"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesSlip or invoice date YYYY-MM-DD
kindNoWhat the document is
noteNoWhat it was for, in the user's words (e.g. "client lunch", "office printer ink")
totalYesTotal amount paid or owed, VAT included, in rand
supplierYesSupplier / shop name as printed
card_last4NoLast 4 card digits if printed
line_itemsNoItems as printed (up to 50)
vat_amountNoVAT amount printed on the slip (omit if none is printed)
business_idNoAccounting practices only: which client's books (an id from accounting_list_my_businesses). Leave out to use the books chosen at sign-in.
account_codeNoExpense account code from accounting_chart_of_accounts, only if the user chose one
payment_methodNocard, cash, eft or account, if printed
document_numberNoSlip / invoice number if printed
supplier_vat_numberNoSupplier VAT number if printed (10 digits starting with 4)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses the key behavior: the record is queued for human review rather than posted to the ledger, the response contains a one-time upload link the agent must relay to the user, and the original attachment matters for VAT. It also discloses the sign-in/auth requirement. It does not warn that the tool is non-idempotent, so a retry would create a duplicate slip — a notable gap for a create operation.

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?

Front-loaded with the action and the accepted inputs, then scope, then output, then auth — a sensible ordering with almost no filler. It is dense but slightly overlong, and the document-type enumeration partly duplicates the 'kind' enum already in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter create tool with no output schema, it covers the essentials an agent needs: where the record lands, that nothing hits the ledger, what comes back (an upload link to hand over), and the authentication prerequisite. Remaining unknowns such as duplicate handling are minor given the 100%-documented schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds a real extraction rule that no parameter field states: transmit only what is physically printed and omit unreadable values. It also frames the business/ledger context for business_id indirectly via 'for the business to check and post,' though it does not spell out when to supply business_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (read a slip the user showed you and submit the printed details) and enumerates the accepted document kinds. It also sharply scope-limits the effect: 'filed under Slips & Documents... nothing is posted to the ledger,' which separates it from ledger-posting siblings.

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?

Gives a clear trigger (the user shows a receipt, till slip, fuel slip or supplier invoice as a photo or PDF), a processing rule ('read it yourself'), and an exclusion ('Only send what is printed; leave out anything you cannot read'). What is missing is explicit routing versus likely siblings such as accounting_submit_document or accounting_slip_upload_link — it points to those tools only as parameter sources, not as alternatives.

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.