Skip to main content
Glama

GitShine

GitHub stats

get_github_stats
Read-onlyIdempotent

A GitHub user's stats: contributions in the last 12 months and all time (year by year), longest and current streak, biggest day, commits/PRs/reviews/issues since joining, top languages by code size and most-starred repositories.

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": {
      "username": "<username>"
    },
    "name": "get_github_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesA GitHub username, @handle or profile URL (organizations aren't supported).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds value by disclosing exactly what data is computed (streaks, all-time vs 12-month contributions), which hints at a heavier aggregation call. It omits anything about caching, rate limits, or behavior for nonexistent/private users.

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?

A single front-loaded sentence that identifies the subject before listing what it returns, with no filler or redundancy. It is somewhat long as a laundry list, but each item conveys a distinct piece of returned data.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does so thoroughly by enumerating the stat categories. For a single-parameter read tool with full annotation coverage, the main remaining gap is data freshness/auth behavior rather than core completeness.

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?

Schema coverage is 100% and the single username parameter is documented in the schema, including the @handle/URL formats and the organization exclusion. The description adds no additional meaning about the parameter. With one fully documented parameter, the baseline of 3 applies.

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 names a specific resource (a GitHub user's stats) and enumerates the concrete contents: contributions over 12 months and all time, streaks, biggest day, commits/PRs/reviews/issues since joining, top languages, and most-starred repos. That is far more specific than a restated title. It stops short of distinguishing this from siblings like get_github_wrapped or get_readme_card, so it is clear but not sibling-differentiating.

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?

There is no when-to-use guidance at all: no stated conditions for choosing this over get_github_wrapped or compare_github_profiles, and no prerequisites. The only scoping constraint (organizations aren't supported) lives in the schema, not the description. An agent must infer the tool's role from the output list alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources