Skip to main content
Glama

A GitHub repository

gh_repo
Read-onlyIdempotent

One repository: settings, branches, the latest commits, open pull requests, the user's rights on it, and the server folders linked to it with git_link.

Input Schema

NameRequiredDescriptionDefault
repoYesowner/name, like shopwhizzy/client-shop (or a GitHub address).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered externally. The description adds value by disclosing the bundled payload: branches, latest commits, open PRs, permission flags, and git_link-linked server folders. It does not cover pagination, freshness, or error behavior (e.g., repo not found / access denied).

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?

A single efficient sentence with the scoping term 'One repository' front-loaded and the payload contents following. No filler. Slightly list-like but every item names a real component returned.

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 read-only aggregate getter with no output schema, the description enumerates the returned sections, which is the main thing an agent needs. The param is fully documented in schema and annotations carry the safety profile. Missing only access-failure behavior, a minor gap.

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 coverage is 100%, and the schema itself documents repo as 'owner/name, like shopwhizzy/client-shop (or a GitHub address).' The description adds nothing about the single parameter, and it does not need to. Baseline 3 is appropriate.

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 explicitly scopes to 'One repository' and enumerates what is included: settings, branches, commits, pull requests, user rights, and linked server folders. This distinguishes it from the plural sibling gh_repos. It lacks an explicit verb such as 'get' or 'retrieve', but the resource and scope are unambiguous.

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 says nothing about when to use gh_repo versus the many overlapping siblings such as gh_repo_settings, gh_branch, gh_commits, gh_pulls, or gh_collaborator. The mention of git_link identifies a relationship, not a routing rule. An agent must infer from the names alone whether gh_repo is an aggregate summary or a substitute for those targeted 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.

Resources