Skip to main content
Glama
project-context-map-mcp

project-context-map-mcp

get_recent_git_changes

Summarize recent Git commits and hotspots over a configurable number of days to quickly understand project changes and focus review.

Instructions

Summarize git commits and hotspots from the last N days. Default is 5 days.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days of git history to inspect.
projectRootNoOptional project root. Defaults to PROJECT_ROOT or current working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not fully meet it. It implies a read-only summarization but never says so, nor does it state prerequisites (must the projectRoot be a git repository?), what happens on a non-repo path, or what form the summary takes. "Hotspots" is left undefined.

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 short sentences with the core action front-loaded and no filler. The second sentence partially duplicates the schema's default value, a small redundancy, but it aids quick scanning.

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 two-parameter read tool this is close to adequate, but with no output schema the description should say what the summary contains (commit counts? file rankings? time bucketing?) and clarify the "hotspots" concept. The gaps are modest rather than disqualifying.

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 both parameters are already documented, including the 5-day default and PROJECT_ROOT fallback behavior. The description only restates the default window without adding format, range, or interpretation detail beyond the schema; 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 description states a specific verb and resource set: "Summarize git commits and hotspots," with an explicit scope of the last N days. It is easy to tell apart from sibling tools like get_project_summary or find_relevant_files, though it does not explicitly contrast itself with them.

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?

No guidance is given on when to choose this tool, when not to, or what alternatives exist for related questions (e.g., per-file context vs. recent-activity summary). The only implied guidance is that a default of 5 days exists, which tells the agent it can omit the parameter but not why or when it should.

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