Skip to main content
Glama

get_recent_commits

Fetch recent commits from GitHub repositories to track development activity. Returns commit details including SHA, message, author, date, and URL for monitoring code changes.

Instructions

Fetches recent commits either for a specific repository or across all repositories. Returns commit SHA, message, author, date, and URL. Useful for tracking recent development activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repository_nameNoOptional: Name of specific repository. If omitted, fetches commits across all repos.
limitNoMaximum number of commits to return (default: 50)
use_cacheNoWhether to use cached data (default: true)
Behavior3/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 behavioral disclosure. It describes the return data (SHA, message, author, date, URL) and implies a read-only operation, but lacks details on permissions, rate limits, or error handling, leaving gaps for a tool with no annotation coverage.

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 efficiently structured in two sentences: the first states the purpose and scope, and the second adds utility context. Every sentence earns its place with no wasted words, making it front-loaded and appropriately sized.

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?

Given the tool's moderate complexity (3 parameters, no annotations, no output schema), the description is adequate but incomplete. It covers the purpose and output format, but lacks details on behavioral traits like error conditions or performance, which are needed for full contextual understanding without annotations or output schema.

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 schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds no additional parameter semantics beyond what the schema provides, such as explaining interactions between parameters or edge cases, meeting the baseline for high schema coverage.

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 the specific action ('fetches recent commits') and resource ('for a specific repository or across all repositories'), distinguishing it from siblings like 'get_contribution_activity' or 'list_repositories' by focusing on commit-level data rather than broader metrics or repository lists.

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 description provides clear context for usage ('useful for tracking recent development activity'), but does not explicitly state when not to use it or name specific alternatives among the sibling tools, such as 'get_contribution_activity' for broader activity metrics.

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/marwaniiwael18/GitInsight-MCP'

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