Skip to main content
Glama
ScrapeBadger MCP Server

ScrapeBadger MCP Server

Official

github_get_repository

Fetches a public GitHub repository's default-branch details by owner and repo, including statistics, topics, license, README, root files, and latest commit.

Instructions

Get a public GitHub repository on its default branch: statistics, topics, license, native README, root files and latest commit. Pass owner and repo separately, not a URL. 10 credits per successful call.

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_get_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name, e.g. cli. Not a URL.
ownerYesOwner login, e.g. cli (owner.login from a profile repository summary).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that only public repositories are supported, that the default branch is used, what fields are returned, and that a successful call costs 10 credits. It does not mention authentication requirements, rate limits, error behavior, or whether failed calls incur cost, leaving meaningful gaps.

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 description is two tight sentences with the core operation and return scope front-loaded, followed by a parameter usage note and cost. Every clause adds practical information, and there is no filler or repetition.

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 is largely complete: it names the returned data, scopes the operation to public repositories on the default branch, clarifies parameter format, and states the credit cost. It stops short of covering auth, failure modes, or rate-limit behavior, but no major invocation detail is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds a cross-parameter usage instruction: 'Pass owner and repo separately, not a URL.' This reinforces and extends the schema's individual parameter notes, especially the requirement to split owner and repository name rather than supply a full URL.

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?

The description uses a specific verb and resource: 'Get a public GitHub repository on its default branch', then enumerates exactly what is returned (statistics, topics, license, README, root files, latest commit). This is far more specific than a tautological name restatement and clearly distinguishes the operation from generic search or listing tools.

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 implied by 'Get a public GitHub repository' and constrained to public repos on the default branch, which is useful context. However, the description gives no explicit when-to-use guidance, no when-not-to-use exclusions beyond 'public', and no named alternatives or sibling routing.

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