Skip to main content
Glama

Octolane

get_record_history

Read-only

Read the field-change history of ONE record - account, contact or deal - newest first. USE FOR: who changed a field and when, what a value used to be, whether a field was edited by a person or by automation, or auditing a record before acting on it. Each entry gives the field (property_name, plus a readable property_label), the old and new values, the author, and the timestamp. For reference fields such as a deal stage or account, old_value_label/new_value_label resolve the stored id to its name. ONE FIELD: pass property_name to narrow to a single field's history; get the correct name from get_account_fields / get_contact_fields / get_deal_fields rather than guessing. PROVENANCE: read source, not user, to say who or what made a change. source is one of user_web, public_api, mcp, chat, workflow, enrichment, integration_sync, csv_import, system. For public_api, source_api_key_id names which of the workspace's API keys wrote, so several automations are separable. user is the person when one was involved, but it is NOT a provenance signal on its own: a public-API write resolves the author to the workspace owner, so a human there does not mean a human made the change. source is null on entries predating this field - say the origin is unknown, never 'unknown user' and never guess a person. For mcp, mcp_key_id names the agent connection and tool the tool it called. change_kind says what happened: created (a value the record was created with - defaulted: true when the system filled it in rather than anyone choosing it), updated, or for deal stakeholders linked / unlinked; null on older entries. PAGINATION: results are one page, not the complete history. Use limit up to 100 and start with offset: 0; while the number of entries read is less than total_count, call this tool again with offset increased by the number of entries returned. Ordering is stable across pages.

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": {
      "object_type": "<object_type>",
      "object_id": "<object_id>"
    },
    "name": "get_record_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries per page (1-100, default 25).
offsetNo0-indexed row offset for paging. Start at 0, then increase by the number of results returned until `offset + results.length >= total_count`. Ordering is stable across pages, so tied sort values do not repeat or skip records.
object_idYesUUID of the record. Resolve it first with search_accounts, search_contacts or search_deals - this tool does not look records up by name.
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.
object_typeYesWhich kind of record to read history for: 'account' (company), 'contact' (person), or 'opportunity' (deal).
property_nameNoRestrict the history to one field, by its stable property_name (not its display label). Get valid names from get_account_fields / get_contact_fields / get_deal_fields. Omit to read every field's changes.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only establish that this is a safe read; the description goes far beyond by explaining provenance semantics, the source enum, that `user` is not a valid provenance signal (public-API writes resolve to the workspace owner), that null source means unknown origin, and what change_kind and defaulted mean. It also warns the result is one page rather than the full history, which is a real behavioral constraint not present in 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then clearly sectioned by USE FOR / ONE FIELD / PROVENANCE / PAGINATION, so an agent can skim to the needed part. It is long and the pagination sentence largely repeats the offset/limit schema descriptions, which is the only real waste.

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?

No output schema, so the description carries the return shape itself and does so: property_name/property_label, old/new values, resolved old_value_label/new_value_label for reference fields, source, source_api_key_id, mcp_key_id, tool, author, timestamp. With paging termination condition and stable ordering also covered, nothing an agent needs to call and interpret this correctly is missing.

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 100%, so the schema already documents limit, offset, object_type and property_name in comparable detail. The description restates the paging loop and the 'get the name from get_*_fields rather than guessing' rule, and adds the useful framing of property_name as a single-field narrowing switch, but most parameter meaning is duplicative rather than additive.

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?

Opens with a specific verb+resource+scope: 'Read the field-change history of ONE record - account, contact or deal - newest first.' The capitalized ONE prevents a common misread (multi-record history) and the tool is clearly distinguishable from detail-readers like get_account_details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'USE FOR' list gives four concrete triggers (who changed what, prior values, human vs automation, pre-action audit), and it routes sub-tasks to siblings: get_account_fields/get_contact_fields/get_deal_fields for property names and search_accounts/search_contacts/search_deals for the UUID. Alternative selection is spelled out rather than inferred.

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