Skip to main content
Glama

Recent commits behind the snapshot

snapshot_history
Read-onlyIdempotent

Reads commit history from reports/log.md to show when and why a snapshot was generated, without leaving the snapshot.

Instructions

The commits the snapshot was built from, from reports/log.md. Answers "when was this written and why" without leaving the snapshot. Generate the report with includeLogs. Read-only.

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": "snapshot_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoRepository root. Defaults to the directory this server was started in.
limitNoMost recent commits to return (default 20).
outDirNoSnapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir.

Output Schema

NameRequiredDescriptionDefault
commitsNo
recordedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the trailing "Read-only." adds nothing. The genuinely additive behavioral facts are that data comes from the generated reports/log.md inside the snapshot rather than live git, and the includeLogs prerequisite, which tells the agent how this call can come back empty. Return values are covered by the output schema.

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 front-loaded sentences establish the resource, source file and purpose before the prerequisite. The only wasted token is the closing "Read-only." which merely restates the annotations.

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?

A simple read tool with rich annotations, full schema coverage and an output schema, so little explanatory burden remains. The description covers return provenance and the includeLogs prerequisite; only an explicit default/limit hint in prose would add much more.

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 root, limit (default 20, max 200) and outDir are fully documented in the schema. The description adds no syntax, default, or format guidance beyond that, which is acceptable at this coverage level but earns only the baseline.

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 resource (the commits the snapshot was built from) and its source file (reports/log.md), plus a concise framing of the question it answers. It is clearly distinct from the query/search/explain siblings, though the verb is implicit (it never literally says 'returns' or 'lists').

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?

Gives a clear use case ("Answers 'when was this written and why' without leaving the snapshot") and names the prerequisite path: the report must have been generated with includeLogs. It stops short of naming an alternative sibling or stating when not to call it.

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