Skip to main content
Glama

get_repo_stats

Read-only

Fetch comprehensive statistics for a specific GitHub repository. Returns total stars, forks, issues (open/closed), pull requests, watchers, last commit date, and contributor count. Returns metrics useful for assessing project popularity and maintenance status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository name within the owner (e.g. 'linux', 'vscode', 'gpt-2')
ownerYesGitHub username or organization name (e.g. 'torvalds', 'microsoft', 'openai')

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, so the description doesn't need to state safety. It adds value by enumerating the specific metrics returned (stars, forks, issues, etc.) and the purpose, which goes beyond the annotations. There is no contradiction.

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?

The description is two sentences, front-loaded with the action and resource. The second sentence efficiently lists return metrics and use case. No redundant words or repetition of schema 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?

For a simple 2-parameter tool with no output schema, the description is complete: it explains what the tool does, what data it returns, and its intended use. The schema and annotations cover the remaining context (parameters and safety).

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%, with owner and repo fully documented in the input schema. The description adds no additional parameter semantics beyond the schema, such as format or special behavior, so the baseline of 3 is appropriate.

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 clearly states the tool 'Fetches comprehensive statistics for a specific GitHub repository', specifying the verb and resource. It distinguishes from siblings by focusing on individual repo stats, whereas compare_repos compares, get_repo_languages handles languages, and search_repos searches.

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?

The description provides clear context: use when you need stats for a specific repo, and it mentions usefulness for assessing popularity and maintenance. However, it doesn't explicitly mention when not to use it or alternatives, though sibling names imply differentiation.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool has a clear primary purpose: search, single-repo stats, language breakdown, and multi-repo comparison. The only potential confusion is between get_repo_stats and compare_repos, as both return metrics, but the singular/comparative distinction is clear from names and descriptions.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (compare, get, get, search). The pattern is predictable and matches the GitHub domain.

Tool Count4/5

With 4 tools, the server is slightly on the smaller side but appropriately scoped for repository analysis. It does not feel bloated or excessively thin for the apparent purpose.

Completeness3/5

The toolset covers search, stats, language, and comparison, but lacks basic repository metadata retrieval (e.g., description, topics, README) and contributor/commit details. These gaps may require workarounds, but core analysis workflows are covered.

Resources