Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

GitHub Repositories

github_repositories

List a GitHub user's public repos with sort, direction, type, and cursor pagination; optionally use a 24-hour cache to avoid repeat charges.

Instructions

List a user's repos with sort/direction/type — opaque Link cursor (~0.4/repo). Costs ~12 credits (0.4/result). 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_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNocreated | updated | pushed | full_name (default updated). Not stars — GitHub's user-repos API has no stars sort. Echoed as data.sort.
typeNoowner (default) | member | all — affiliation filter. Echoed as data.type.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 30, max 100). Billed per result.
cursorNoOpaque cursor from a previous nextCursor (GitHub Link page=). Not a bare page number.
usernameYesGitHub username or profile URL, e.g. torvalds.
directionNoasc or desc (default desc). Echoed as data.direction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses billing (~12 credits at 0.4/result), that empty results and failures are free, and that the cache is 24h and off by default. It leaves auth/permission requirements and the shape of returned items unstated.

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

Conciseness5/5

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

One dense sentence-cluster: scope first, then pagination mechanics, then cost, then the cache tradeoff. There is no filler and the most decision-relevant facts (cost, cache) are front-loaded.

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 7-parameter, annotation-free, output-schema-free list tool, the description covers the costly-to-guess parts: billing model, pagination cursor semantics, and caching. The gap is return-value shape, which an agent must discover empirically since no output schema exists.

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 description coverage is 100%, so every parameter is already documented, including that cache=true yields 0 credits on hit. The description reinforces the cache default and flags the cursor as an opaque Link cursor, but adds little meaning beyond the schema.

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 a specific verb and resource ('List a user's repos') and enumerates the controlling knobs (sort/direction/type), which cleanly separates it from github_repository (single repo) and github_trending_repositories. It does not name a sibling explicitly, so the differentiation is inferred from scope rather than stated.

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?

Gives clear operational guidance: pass cache=true for a free 24h cache hit versus the always-fresh default, and notes that empty results and failures are not charged. It never gives an explicit when-not or names an alternative tool, so routing between github_repositories and github_repository still requires the agent's own judgment.

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