Skip to main content
Glama

github_repos_get_contributors_stats

Retrieve all contributor commit activity for a GitHub repository to analyze contribution patterns and identify active developers.

Instructions

Get all contributor commit activity

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

Input Schema

NameRequiredDescriptionDefault
repoYesrepo
ownerYesowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4
  2. Removed
  3. Addedv1.0.2

TDQS

C2.9/5.0
Behavior2/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 of behavioral disclosure. It only states 'Get all contributor commit activity', which implies a read operation, but does not describe the data structure (e.g., weekly stats per contributor), pagination, or any side effects. More detail is needed for a tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short (5 words) and front-loaded with the action. It is concise and avoids unnecessary words. Could be slightly more informative without becoming verbose, but it efficiently conveys the main purpose.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the GitHub API and the lack of output schema and annotations, the description is incomplete. It does not mention the response format (e.g., list of objects with author, total, weeks), or that it returns weekly data. It also does not clarify how it differs from similar tools, such as those for more detailed search or filtering.

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 has 100% description coverage (owner and repo), but the schema descriptions are minimal ('owner', 'repo'). The tool description does not add any meaning beyond those property names. With high schema coverage, a baseline of 3 is appropriate, even though the description does not elaborate on the parameters.

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?

The description 'Get all contributor commit activity' uses a specific verb and resource, clearly indicating it retrieves commit activity stats for all contributors. It distinguishes from the sibling 'github_repos_list_contributors' which likely only lists contributor names. However, it could be more precise about the type of activity (e.g., weekly additions/deletions).

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'github_repos_list_contributors' or other stat tools. There is no mention of prerequisites, limitations, or when not to use it.

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

Deploy Server

Other Tools