Skip to main content
Glama

Get GitHub Repository

github_repo_get
Read-onlyIdempotent

Fetch metadata (stars, forks, topics, license, dates) for a public GitHub repository via the REST API.

upAPI operation github-repo.get (Developer Tools). Costs 1 unit of monthly quota per call.

Input Schema

NameRequiredDescriptionDefault
repoYesRepo name
ownerYesRepo owner (user or org)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / owner / maxLength
      Previous value: -100New value: +39
    • addedInput schema / properties / owner / pattern
      Added value: +"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,38})$"
    • changedInput schema / properties / repo / maxLength
      Previous value: -200New value: +100
    • addedInput schema / properties / repo / pattern
      Added value: +"^[A-Za-z0-9._-]*[A-Za-z0-9_-][A-Za-z0-9._-]*$"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the genuinely useful quota cost (1 unit of monthly quota per call) and the public-only constraint, but says nothing about failure modes for nonexistent or private repos.

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

Conciseness4/5

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

Two sentences with the purpose and returned fields front-loaded and no padding. The second sentence carries a garbled fragment ('upAPI operation') that slightly muddies the quota-cost point but does not obscure it.

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 simple two-parameter read tool with no output schema, the description tells the agent what the call returns and what it costs. Missing only error/edge-case expectations, which is a minor gap at this complexity.

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% and both parameters are documented in the schema (owner as user or org, repo name). The description adds no further meaning about parameter formats or constraints, so the baseline 3 applies.

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 ('Fetch metadata') and resource ('public GitHub repository via the REST API'), and enumerates the metadata fields (stars, forks, topics, license, dates). The resource is unique among siblings such as wikipedia_article_get and web_search_post, though no explicit sibling contrast is drawn.

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?

Implied usage only: 'public' repository signals private repos are out of scope, but there is no explicit when-to-use guidance, no prerequisites (e.g., auth requirements), and no alternatives named among the many sibling tools.

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.