Skip to main content
Glama

cfg_log

Lists a config record's commit history newest first, including author, timestamp, tags, and field-level diffs versus the previous version for auditing changes.

Instructions

List the commit history of a record, newest first. Each entry has seq, oid, op, author, recorded_at, message, tags and changes (field-level diff vs the previous version).

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": {
      "record": "<record>"
    },
    "name": "cfg_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoEnvironment name from .cfg.toml (e.g. dev, prod). Selects the target database.dev
limitNoMax number of history entries to return.
sinceNoOnly entries recorded at/after this ISO date/time, or a relative 7d / 12h.
authorNoAuthor attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required.
recordYesRecord address as collection:id, e.g. agent_configs:refund_resolution.
config_fileNoOmit: the server uses the .cfg.toml it started with. A different path is refused unless the server runs with CFGIT_MCP_ALLOW_CONFIG_OVERRIDE=1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full load: it does disclose the newest-first ordering and the per-entry `changes` field-level diff, which is genuine behavioral context. It omits, however, any statement about read-only semantics, identity/enforcement modes affecting the `author` hint, or pagination/limit behavior — though the schema documents some of that.

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?

Two tight sentences with the core purpose front-loaded and no filler. The second sentence enumerates return fields, which mildly duplicates the existing output schema but stays short.

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

Completeness3/5

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

For a 6-parameter read tool with an output schema and no annotations, the definition covers the essential purpose and ordering but leaves the agent without routing guidance among the many cfg_* siblings. The return-value sentence is redundant given the output schema, so the space could have gone to usage or pagination context.

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 description coverage is 100%, so env, limit, since, author, record and config_file are already fully explained in the input schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 ("List the commit history of a record") plus an ordering guarantee ("newest first"). It doesn't distinguish itself from nearby siblings like cfg_recent_history or cfg_branch_log, so an agent must infer which history view to pick.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative; the description never says to prefer cfg_branch_log for branch-level history or cfg_diff for a single comparison. Usage is only implied by the phrase "commit history of a record".

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