Skip to main content
Glama

Groundsocial

Public activity of a GitHub user

github_user_activity
Read-onlyIdempotent

A GitHub user’s recent public activity: pushes, pull requests, issues, stars.

A user’s public events, newest first (pushes, pull requests, issues, stars, forks, releases, comments), as GitHub’s events objects. GitHub keeps the last 90 days, up to 300 events (3 pages of 100). year keeps events from that calendar year; for a whole year of activity counts use github_user_contributions.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "handle": "<handle>"
    },
    "name": "github_user_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-indexed page number (default 1).
yearNoOnly events from this calendar year.
afterNoCursor: the previous page’s `next_cursor` (instead of page).
handleYesGitHub username, with or without the @, or a profile URL.
per_pageNoItems per page, 1-100 (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open-world), the description discloses the 90-day retention window, the 300-event ceiling (3 pages of 100), newest-first ordering, the raw GitHub events object shape, and the cost model including automatic refund on failure and the presence of cost_credits/credits_remaining in results. These are substantive facts an agent cannot get from the structured fields.

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 definition is front-loaded with the resource, then limits, then routing, then cost. The event-type list is repeated between the first line and the second parenthetical, a minor redundancy that could be trimmed, but overall every section carries useful information.

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?

With no output schema, the description compensates by describing the return shape (GitHub events objects, newest first) and the cost/credit fields in the response. The retention limits, pagination ceiling, and alternative tool are all covered, leaving nothing essential missing for a read-only public-data fetch.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the 300-event/3-page cap gives practical bounds to the page parameter, and the year parameter is framed as an alternative to fetching a full year of counts. It stops short of explaining how after/cursor interacts with page, which the schema covers only briefly.

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 states a specific verb and resource ('A GitHub user's recent public activity') and enumerates the event types returned (pushes, pull requests, issues, stars, forks, releases, comments). It explicitly names the sibling github_user_contributions as the aggregated-counts alternative, so the agent can distinguish the two without opening either schema.

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?

It gives an explicit routing rule: use github_user_contributions for whole-year activity counts instead of this raw-events tool. It also implies context via the 90-day/300-event retention limits, though it does not address other plausible siblings such as github_user_pull_requests or github_user_get.

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.