Skip to main content
Glama

get_repo_stats

Retrieve a GitHub repository's key statistics: stars, forks, watchers, open issues/PRs, size, and activity timestamps.

Instructions

Stars, forks, watchers, open issue/PR counts, size, timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_repoYes
Behavior2/5

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

With no annotations, the description must disclose behaviors (e.g., read-only, API rate limits, authentication requirements, or return format details). It only lists output fields without any behavioral context, leaving the agent unaware of potential side effects or constraints. This is a significant gap, especially for an API-bound tool.

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 a single fragment with no wasted words. It efficiently conveys the core output without verbose phrasing, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one param, no output schema, no annotations), and the description lists the returned stats, which is adequate for a basic understanding. However, it omits how the parameter relates to the output, lacks usage context, and does not clarify edge cases (e.g., 'timestamps' for what events). It is minimally viable but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has a single parameter 'owner_repo' with 0% description coverage, so the description must compensate. It does not mention the parameter at all, nor does it explain the expected format (e.g., 'owner/repo'). However, the single parameter name is self-explanatory, mitigating some ambiguity.

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 enumerates the specific data returned (stars, forks, watchers, open issue/PR counts, size, timestamps), making the tool's purpose clear and distinguishing it from sibling tools like get_repo_info or get_contributors. It lacks an explicit verb like 'retrieves', but the list of metrics strongly implies the action and resource.

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?

The description provides no guidance on when to use this tool versus alternatives, such as 'use this for quantitative metrics' or 'use get_repo_info for qualitative details.' No exclusions or preferred contexts are mentioned, so the agent must infer usage from the name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NityaShukla25/github-ops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server