Skip to main content
Glama

Log History Tool

log_history

Saves a project's rebuilt history as one update per past day, after the person confirms the draft. Use it to record each past day's summary, decisions, and git stats.

Instructions

Saves the rebuilt history of a project: one update per past day (date, summary, done, decisions, git), each on its day. Call it ONLY after the person has seen the draft and confirmed it (see reported_days and its next_steps). Days already reported are not rewritten, but a reported day without any time can get its estimated_minutes (date + estimated_minutes only); today is not accepted (use log_update). Never secrets, credentials, personal data or code.

Input Schema

NameRequiredDescriptionDefault
daysYesOne entry per past day with work, oldest first; at most 40 per call.
repoNoThe output of git remote -v in the working directory.
agentNoThe agent writing this: claude-code, codex, cursor.
projectNoProject slug or name, when there is no repo or it is not linked.
sessionNoThis session's id, from the cemainou line at the start of the session. The session's project wins over the repo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses important mutation behavior: confirmation is required, reported days are not rewritten, a limited estimated_minutes exception exists, and sensitive data/code must never be saved. It does not cover return behavior, error handling, auth, or rate limits, so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The purpose is front-loaded, followed by confirmation requirements, overwrite rules, the estimated_minutes exception, the log_update exclusion, and the safety rule. It is dense but every clause adds routing, safety, or format value.

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?

For a complex nested days array with no annotations or output schema, the description covers the key usage and mutation constraints an agent needs to call it correctly. It remains slightly incomplete because it does not describe the response or failure behavior.

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?

Schema description coverage is 100%, so the baseline is 3, but the description adds cross-field constraints beyond the schema: a reported day without time may receive only date plus estimated_minutes, and today is rejected. It also clarifies that the day entries map to one update per past day.

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?

States a specific verb and resource: saves the rebuilt history of a project, one update per past day. It also distinguishes the tool from log_update by stating that today is not accepted here and should use log_update instead.

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?

Explicitly says to call it ONLY after the person has seen the draft and confirmed it, and points to reported_days and next_steps. It also states when-not conditions: days already reported are not rewritten, except for the estimated_minutes-only case, and today must use log_update.

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