Skip to main content
Glama

cfg_recent_history

Retrieve recent commit history across all configured records to review configuration changes and audit database state.

Instructions

Return recent cfgit history entries across all configured records.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cfg_recent_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoEnvironment name from .cfg.toml (e.g. dev, prod). Selects the target database.dev
limitNoMax number of recent commits to return across all records.
authorNoAuthor attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required.
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

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Recent' implies recency ordering and 'across all configured records' implies aggregation, but nothing is said about pagination/truncation at the limit, ordering guarantees, what a 'record' or 'cfgit' is, or any permission requirements. For a read tool with zero annotation coverage this leaves significant gaps.

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?

One front-loaded sentence with no filler or repetition. It is efficient, though so terse that the scope qualifier is doing work a second sentence could have made explicit.

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?

An output schema exists and all four parameters are fully documented, so return values and inputs need no further explanation. However, for a cross-record aggregation tool with no annotations, the description does not explain how records are enumerated or how the default env/config selection affects results, leaving it only minimally adequate.

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%, and every parameter (env, limit, author, config_file) is documented in the schema including override and identity-mode caveats. The description adds only the concept of an all-records scope, which loosely relates to limit, but provides no additional parameter meaning, 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?

The single sentence names a specific verb ('Return') and resource ('recent cfgit history entries') and adds a scope qualifier ('across all configured records') that distinguishes it from per-record or per-branch log tools. It never names a sibling like cfg_log or cfg_branch_log, so the differentiation is implied rather than explicit.

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?

The scope phrase hints that this is for cross-record activity, but there is no explicit when-to-use, when-not, or pointer to the alternatives (cfg_log, cfg_branch_log, cfg_branch_diff) that also surface history. An agent must infer the selection rule from the tool name and scope alone.

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