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

FirstCommit — Your First Step into Open Source

get_readme

Fetch a public GitHub repository's README content and metadata from a URL or owner/repo string, returning decoded text, file details, and links for quick project review.

Instructions

Retrieve the README content and 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 the decoded README text, file name, path, size, and links.

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_readme"
  }
}

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

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It helpfully enumerates the return payload (decoded text, file name, path, size, links) and reveals the public-only scope, but it never says what happens when a repository has no README, whether errors are raised or nulls returned, or whether rate limits apply.

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?

Three tight sentences, front-loaded with the purpose before the input formats and return shape. The example values duplicate what the schema already shows, which is mild waste but also aids quick scanning.

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 tool with no output schema, the description covers purpose, accepted input forms, and the shape of the response, which is most of what an agent needs. The remaining gap is failure behavior for missing or inaccessible READMEs, which the annotations would otherwise have covered.

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% for the single repo_url parameter, so the schema already documents the accepted URL and owner/repo formats. The description restates the same two examples rather than adding new meaning, so the baseline of 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 and resource: 'Retrieve the README content and metadata for a public GitHub repository.' This clearly separates it from a generic repository-info tool by naming the README as the artifact. It stops short of explicitly contrasting with the sibling get_repository_info, leaving the boundary to be inferred.

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?

The 'public' qualifier implies the constraint (no private repos, no auth path), and the accepted input forms are spelled out. However, there is no explicit when-to-use guidance and no statement about when an agent should reach for get_repository_info instead of this tool.

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