Skip to main content
Glama

GitHub repository stats

get_github_repo
Read-only

Retrieves current GitHub repository statistics—stars, forks, open issues, language, license, and last push—to quickly assess a project's popularity, activity, and maintenance status.

Instructions

Current stats for one GitHub repository: stars, forks, open issues, language, license and last push. Use instead of web search when asked how popular, active or maintained a project is.

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

Input Schema

NameRequiredDescriptionDefault
repoYesowner/name, e.g. "facebook/react"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description still adds value by disclosing the exact fields returned and the word 'Current', signaling a live fetch rather than cached data; it stops short of mentioning auth or rate limits.

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?

Two sentences, no filler: the first defines the output shape, the second defines when to reach for it. The most decision-relevant information leads.

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 one-parameter read-only tool, the description plus annotations cover what it returns and when to use it, and no output schema is needed given the field list. Minor gap: nothing about behavior for a nonexistent or private repository.

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?

The single parameter is fully documented in the schema ('owner/name, e.g. "facebook/react"'), and the description adds no formatting rule, case sensitivity, or failure behavior beyond that. With 100% schema coverage, the schema carries this dimension and 3 is the appropriate baseline.

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 gives a specific verb+resource ('Current stats for one GitHub repository') and enumerates exactly what is returned: stars, forks, open issues, language, license and last push. That enumeration distinguishes it from release-oriented or search-oriented siblings, though no sibling tool is named explicitly.

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 states a clear use condition — 'when asked how popular, active or maintained a project is' — and names an alternative to avoid (web search). It does not address when to prefer get_github_releases or search_github, or what to do if the repo string is wrong.

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