Skip to main content
Glama
Repo Insight MCP

Repo Insight MCP

by viradm

file_history

List recent commits for a repository or specific file path to check whether code is actively maintained or has gone untouched.

Instructions

List recent commits, optionally for one path. Use it to see whether code is actively maintained or has sat untouched for years.

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": {
      "repo": "<repo>"
    },
    "name": "file_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNopath to trace, or empty for the whole repository
repoYesowner/name or a github.com URL
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little: "list" implies a read, but nothing is said about authentication or token requirements for the GitHub-hosted repo, commit ordering, branch scope, or pagination/truncation behaviour. The output schema covers return shape, but the operational context an agent needs before calling is missing.

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?

Two short sentences, zero filler, with the core operation stated first and the purpose rationale second. Nothing could be removed without losing meaning.

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?

The presence of an output schema means return values need not be explained, and the core operation is stated plainly. But for a tool hitting a remote repository with no annotations, the absence of any note on auth, rate limits, or commit ordering leaves meaningful gaps for an agent deciding whether to rely on it.

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 67% — path and repo are documented in the schema, and the description's "optionally for one path" reinforces that path is not required. The limit parameter has no description in either place, only min/max bounds, so the description does not fully close the gap but the baseline of 3 is warranted.

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?

Uses a specific verb and resource ("List recent commits") and adds the scoping nuance that it can be narrowed to one path. This is clearly distinct from read_file or list_tree, though it never explicitly names those siblings.

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

Usage Guidelines3/5

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

Gives a genuine motivating use case (judging whether code is actively maintained or stale), which is more than most definitions offer. However, it provides no when-not guidance and does not point to any alternative tool for related needs such as file contents or dependency listing.

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