Skip to main content
Glama

Read a GitHub repository

read_github
Read-onlyIdempotent

Read a PUBLIC GitHub repository: README and file list, or one text file with path. Requires a PCBBrew account (sign-in).

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": {
      "url": "<url>"
    },
    "name": "read_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover safety traits: read-only, open-world, idempotent, and non-destructive. The description adds useful context beyond them: the repository must be public, a PCBBrew account sign-in is required, and the tool returns either a README and file list or one text file, depending on whether a path is supplied.

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 definition uses two compact sentences with no wasted wording. The primary capability is front-loaded, followed by the authentication requirement.

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?

This is a simple two-parameter read tool with rich annotations and no output schema. The description covers the public scope, sign-in requirement, and both output modes, though it could be slightly more explicit about the expected URL and path formats.

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 0%, so the description must carry the burden of explaining the two parameters. It clarifies that the URL identifies the repository and that path selects a single text file, but it does not specify URL format or path syntax, so some ambiguity remains.

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 gives a specific verb and resource ("Read a PUBLIC GitHub repository") and explains both operating modes: README plus file list, or one text file using a path. It is clear, but it does not differentiate this tool from any sibling tool.

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 description implies usage by explaining the optional path mode and public-only scope, but it does not state when an agent should choose this tool over alternatives or when not to use it. The guidance is therefore adequate but incomplete.

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.

Resources