Skip to main content
Glama
muhammadzaeemaltaf

GitHub Summary MCP

get_repo_commits_today

Retrieve today's commits from a GitHub repository to track daily development activity and generate formatted summaries for reporting.

Instructions

Return today's commits for a single repository authored by the authenticated user.

Args: repo_name: The repository to inspect. Accepts either the short name (e.g. "Hello-World") or the full owner/repo format (e.g. "octocat/Hello-World"). When a short name is provided the authenticated user's login is used as the owner.

Returns: A dict with keys:

* ``"repo"``    – the resolved ``owner/repo`` string
* ``"commits"`` – list of commit objects
* ``"summary"`` – formatted bullet-list summary for this repository

Example return value::

{
    "repo": "octocat/Hello-World",
    "commits": [
        {
            "sha": "abc123",
            "message": "Fix login bug",
            "files": ["auth/login.py"],
            "insertions": 5,
            "deletions": 2,
            "committed_at": "2024-01-15T09:30:00+00:00"
        }
    ],
    "summary": "> Hello-World\n\n* Fix login bug"
}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full burden and does well by specifying authentication context ('authored by the authenticated user'), date scope ('today's commits'), and detailed return format. It doesn't mention rate limits or error conditions, but provides substantial behavioral context.

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?

Perfectly structured with purpose statement, parameter documentation, return specification, and example. Every sentence earns its place, and information is front-loaded with the core functionality stated first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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, no annotations, but comprehensive output schema in the description, this is complete. The description covers purpose, parameters, authentication context, date scope, and detailed return format with example, leaving no gaps for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage for the single parameter, the description fully compensates by explaining repo_name's semantics, acceptable formats (short name vs owner/repo), and resolution logic when short name is provided. This adds significant value beyond the bare schema.

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 ('Return today's commits'), target resource ('for a single repository'), and scope ('authored by the authenticated user'). It distinguishes from siblings by focusing on commits rather than summaries or repository listings.

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 usage context (today's commits, authenticated user's authorship) but doesn't explicitly state when to use this tool versus alternatives like get_daily_summary or list_repositories. No exclusions or prerequisites are mentioned.

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/muhammadzaeemaltaf/github-summary-mcp'

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