Skip to main content
Glama

Read record history

get_record_history
Read-onlyIdempotent

Return the change history of a single record of an edit form, oldest change first: when and by whom the record was created, saved and deleted, and the new values of the columns that changed at every save. HTML columns (RichTextBox) are whole in their first version and then a line diff against the previous version, so the evolution of a long text can be followed without reading every version whole. Columns whose name contains password or md5 are never returned. The history exists only for edit forms that track it; a record changed outside the edit form without history has gaps. A long output is cut and states the skip value to continue with.

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": {
      "table": "<table>",
      "id": "<id>"
    },
    "name": "get_record_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the record.
skipNoThe number of changes to skip, to continue a cut output. Default 0.
tableYesThe table of the edit form (its dbName), e.g. ng_invoice — without the _history suffix.
columnsNoOptional columns to follow, e.g. ["ng_description", "ng_state"]. Default: all columns of the edit form.
full_versionsNotrue = return every version of HTML columns whole instead of a diff against the previous version. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the concrete return behaviour: HTML columns are whole in the first version then a line diff, so long text evolution is followable. It also discloses a security constraint (columns containing password or md5 are never returned) and truncation behaviour with a skip continuation value — all non-obvious traits an agent could not derive from structured 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?

Front-loaded with the core purpose, then layered with diff semantics, security exclusions, history caveats and truncation, in a single waste-free paragraph. It is dense but every sentence carries operational information; only the ordering could be slightly tighter.

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 5-parameter read tool with no output schema and no annotations about returns, the description covers what comes back (who/when for create, save, delete, plus changed column values), how it is shaped, and how pagination continues. Nothing essential for a correct first call is missing.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: it ties `skip` to continuing a cut output and explains the diff-versus-whole tradeoff that `full_versions` controls, so the agent understands the practical effect of the flags. Parameter-by-parameter documentation is still left to the schema.

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 gives a specific verb and resource ("Return the change history of a single record of an edit form") plus ordering (oldest first), which is far more than a restatement of the name. It does not distinguish itself from the sibling get_model_history, so an agent must infer that one covers model/schema history and this one covers record data.

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 states the conditions under which the tool is meaningful — history exists only for edit forms that track it, and records changed outside the edit form leave gaps — which tells the agent when results may be incomplete. It stops short of naming an alternative tool or saying when not to call this one.

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