Skip to main content
Glama
Hemanth-hexo

GitHub Discovery MCP Server

by Hemanth-hexo

get_recent_commits

See what's actively being worked on by retrieving recent commits from a repository or a specific branch, including short SHA, author, timestamp, and commit message.

Instructions

Get the most recent commits to a repo (or one branch), to see what's actively being worked on. Each entry shows the short SHA, author, when it happened, and the commit message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepo as 'owner/name' (e.g. 'facebook/react') or a GitHub URL — usually copied straight from a search result.
limitNoHow many commits to return. Default: 10, max: 30.
branchNoBranch name to look at. Omit for the default branch.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of explaining behavior. It does so effectively by disclosing the optional branch scoping and what each returned entry contains. It could mention ordering or lack of diffs, but the behavior is clear and unlikely to surprise the agent.

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 two sentences with no filler. The first sentence states the action, scope, and purpose; the second describes the return value. Every word earns its place, and the most important 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?

The description is complete enough for a straightforward read-only listing tool. It explains the return shape despite the absence of an output schema, and parameter details are fully covered by the schema. A minor gap is that it doesn't explicitly mention sorting order, but 'most recent' implies chronological order, so this is not a significant omission.

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?

The input schema already provides complete descriptions for all three parameters, including format, defaults, bounds, and the meaning of omitting `branch`. The description adds no meaningful parameter-level detail beyond reinforcing that branch is optional, so the baseline score of 3 is appropriate.

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 clearly states a specific action ('Get the most recent commits') with a well-defined resource and scope ('to a repo (or one branch)'). It also distinguishes itself from sibling tools by focusing on commit history rather than repos, branches, or file contents. The addition of the output fields ('short SHA, author, when it happened, and the commit message') further clarifies what the tool is for.

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?

The phrase 'to see what's actively being worked on' provides clear contextual guidance on when to use this tool. It does not explicitly name alternatives or exclusions, but for a simple read-only commit listing tool, this level of usage context is sufficient.

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

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/Hemanth-hexo/Git_mcp'

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