Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

GitHub Contributions

github_contributions

Retrieve a GitHub user's contribution graph, including sorted daily activity, current streak, and longest streak, with optional 24-hour caching to reduce credit use.

Instructions

GitHub contribution graph — sorted days[], currentStreak (today grace), longestStreak (2 credits). Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": "github_contributions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
usernameYesGitHub username or profile URL, e.g. getify or https://github.com/getify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the 2-credit cost, that empty results and failures are never charged, that cache=true serves stale data for free, and that currentStreak has a 'today grace'. These are exactly the billing and staleness traits an agent needs before invoking. It stops short of a 5 only because the '(2 credits)' on longestStreak is ambiguous as to whether it is a surcharge or a restatement.

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?

Dense and front-loaded: resource first, then output fields, then cost rules, then the cache option. Every clause carries information, but the parenthetical '(2 credits)' attached to longestStreak is slightly confusing next to the standalone 'Costs 2 credits' sentence.

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, and the description compensates by listing the returned fields (days[], currentStreak, longestStreak). Combined with the credit and caching rules, an agent has enough to call it correctly; only the return format details (e.g. what a day element looks like) are left unstated, which is a minor gap for a 2-parameter read tool.

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%, so both username and cache are already documented in the input schema, including the 0-credit cache hit and the fresh-by-default behavior. The description repeats the cache semantics rather than adding new meaning, so the baseline 3 for fully documented schemas 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?

States the specific resource — a GitHub contribution graph — and even names the shape of what comes back (sorted days[], currentStreak, longestStreak), so an agent knows exactly what data this yields. The verb is only implied and there is no explicit differentiation from siblings like github_activity or github_user, which keeps it just short of a 5.

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?

Offers practical guidance for the cache flag (pass cache=true for a free 24h hit, default always fresh), which is real usage direction. However, it never says when to prefer this over github_activity or other profile tools, nor any exclusion or prerequisite, so selection guidance is only implied by the resource name.

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