Skip to main content
Glama

Octobooks

History of a record

history
Read-onlyIdempotent

The change history of one record from the audit log: who changed what, when, old to new, newest to oldest. kind: journal (an entry or a bill, with its lines; key the journal id, or the entry number where no journal has that id; read_as says which), entry (key the entry number), invoice (key the invoice id), account (key the account code), customer, supplier, product (key the id). Round 733: kind=settings with key a Settings group (company, bank, apps, people, ai, invoices, tax, profile, android, billing): who changed which setting of it, when, old to new, as Settings shows at the group's foot; kind=activity with key the number of months (1 to 24, default 12): per person and month the entries posted, the settings changed and every change written. Round 793: kind=log, the company's whole audit log newest at the top, field by field (key optional: who, e.g. person:ann or claude:cowork); it cannot be changed, deleted or switched off.

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": {
      "kind": "<kind>"
    },
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
kindYes
companyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds real context beyond that: results are newest-to-oldest, the log is field-by-field and 'cannot be changed, deleted or switched off', the activity view defaults to 12 months, and the log's key is optional with an author-filter syntax like 'person:ann'. These are behavioral facts not derivable from the annotations.

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?

Purpose is front-loaded and the kind-by-kind mapping is dense but useful for routing. However, the 'Round 733:' and 'Round 793:' changelog markers are internal versioning noise that costs tokens without helping an agent call the tool, and the single block paragraph is hard to scan.

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

Completeness4/5

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

An output schema exists, so return values need no prose, and the description correctly spends its effort on the free-text kind parameter that the schema leaves completely undocumented. The only gap is the unexplained company parameter, which matters for scoping but is a modest omission overall.

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 0%, so the description must carry parameter meaning and it largely does: it defines the accepted kind values, the per-kind meaning of key, key's optionality for log, and a default of 12 months for activity. The company parameter is never mentioned, leaving one of three parameters undefined anywhere.

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?

The first sentence gives a specific verb and resource: 'The change history of one record from the audit log: who changed what, when, old to new, newest to oldest.' The subsequent enumeration of kind values makes clear the range of record types it can trace, which is the key distinction from single-resource siblings like bill or settings.

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 effectively tells the agent how to route: which kind to pick and which key each kind expects (journal id or entry number, entry number, invoice id, account code, settings group, months for activity, optional author filter for log). What it does not do is explicitly state when to prefer a sibling tool (e.g. reading a bill) over history, so there are no exclusions.

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.

Resources