Skip to main content
Glama

get_file_history

Retrieve commit history and symbol evolution for any Linux kernel file path, with evidence-ranked results.

Instructions

Get commit history and symbol evolution for a kernel file path.

Args: file_path: Relative file path in kernel tree. repo: Optional repository filter. limit: Max commits to return.

Returns: Dictionary with file commit history and evidence sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNo
limitNo
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the return type (dictionary with commit history and evidence sources), which is useful. However, it does not explicitly confirm this is a read-only operation, nor does it mention ordering, pagination, error behavior, or performance implications, leaving some ambiguity.

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 description is brief and well-structured: a purpose statement, a bulleted args list, and a returns line. Every sentence contributes meaning, no filler, and key information is front-loaded.

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?

With only 3 parameters and a provided output schema, the description covers all essential aspects: purpose, required and optional parameters, and the general return shape. It lacks usage guidance and some behavioral details, but those are counted elsewhere. For its complexity, it is reasonably complete.

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?

The schema has 0% description coverage, so the description must compensate. It does so by explaining all three parameters: file_path (relative path), repo (optional filter), and limit (max commits). This adds genuine meaning beyond the schema. Slight vagueness remains for 'repo filter' (format not specified), but overall it's strong.

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?

The description uses a specific verb ('Get') and distinct resource ('commit history and symbol evolution for a kernel file path'). This clearly differentiates it from sibling tools like search_commits (generic search) and get_commit_details (single commit), as it is file-path-centric and includes symbol evolution.

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?

The description implies a clear use case (file-specific history), but it does not explicitly state when to prefer this over alternatives like blame_line_range or search_commits. It gives no exclusions or alternative guidance, only the applicable context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Reinazhard/kernelmind-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server