Skip to main content
Glama
FirstCommit — Your First Step into Open Source

FirstCommit — Your First Step into Open Source

get_repository_info

Retrieve metadata for any public GitHub repository from a URL or owner/repo string to view its language, stars, forks, open issues, default branch, topics, and license at a glance.

Instructions

Retrieve metadata for a public GitHub repository. Accepts a full GitHub URL (e.g. https://github.com/facebook/react) or an owner/repo string (e.g. facebook/react). Returns structured information including name, description, primary language, stars, forks, open issue count, default branch, topics, and license.

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_url": "<repo_url>"
    },
    "name": "get_repository_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYesA public GitHub repository URL (e.g. https://github.com/owner/repo) or owner/repo identifier (e.g. owner/repo)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the public-only limitation, the accepted input formats, and the returned fields, but says nothing about authentication, rate limits, or what happens for a nonexistent or private repo.

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?

Three short sentences, front-loaded with the action and followed by accepted inputs then return shape. The field list is long but earns its place given there is no output schema.

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 single-parameter, read-only lookup with no output schema, the description covers input formats and return payload well. The remaining gap is behavioral edge cases (private/nonexistent repos, rate limits), which are minor but real.

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

Parameters4/5

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

Only one parameter exists and schema description coverage is 100%, so the schema already documents it fully; the description's URL and owner/repo examples are redundant but harmless. With a single well-documented parameter, this sits at the expected baseline or slightly above.

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?

States a specific verb and resource (retrieve metadata for a public GitHub repository) and enumerates the returned fields, so it is clearly distinct from siblings like get_readme, get_issue_details, or search_issues without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for repo-level facts, and the 'public' qualifier usefully scopes it. There is no explicit when-to-use/when-not guidance and no pointer to alternatives for richer operations.

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