Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

GitHub Repository

github_repository

Retrieve a GitHub repository's stars, watchers, open issues and PRs, license, and fork parent, with optional 24-hour caching to reduce credits.

Instructions

GitHub repo — stars, real watchers (subscribers), openIssuesAndPrs, license, parent when fork (1 credit). Costs 1 credit. 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": {
      "repo": "<repo>"
    },
    "name": "github_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository URL or owner/name, e.g. torvalds/linux or https://github.com/torvalds/linux.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses the 1-credit cost, that empty results and failures are never charged, and that caching is opt-in with a 24h window and fresh-by-default behavior. It does not cover auth requirements or how a fork's parent is shaped, but the charging and caching semantics are the operationally important parts and are stated.

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?

Front-loaded with the returned fields, then cost, then caching — a sensible order with no wasted preamble. Minor redundancy where '(1 credit)' and 'Costs 1 credit' state the same fact twice.

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?

For a 2-param, read-only lookup with no output schema, the definition covers what comes back, what it costs, when it's free, and how to get a cache hit — enough to call it correctly. Only the absence of any sibling routing keeps it from being fully complete.

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 params (repo, cache) are already documented with examples and defaults in the schema. The description restates the cache semantics and gives the repo format implicitly, adding little beyond the structured fields, so baseline 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?

Names a specific resource (GitHub repo) and enumerates the fields it returns — stars, subscribers, open issues/PRs, license, fork parent — so an agent can tell it apart from a listing tool like github_repositories. The verb is only implied ('GitHub repo'), which keeps it just short of a full 5.

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 explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative (e.g. github_repositories for listing many repos vs. this one for a single repo). The singular 'repo' and required repo param hint at single-repo lookup, but the agent must infer that.

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