Skip to main content
Glama

Check a public GitHub repository for vulnerable dependencies, with fix prompts

check_github_repository

Finds every lockfile on the default branch of a PUBLIC GitHub repository (up to 25), checks each package version against OSV.dev, plus the runtimes the repository uses, and returns the same answer as check_lockfiles: each vulnerable package version with the upgrade that fixes it, and prompts for a coding agent (prompt_all, mitigation_prompt_all, check_prompt_all). Works without an API token. For a local project or a private repository, send its lockfiles with check_lockfiles instead.

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": {
      "repository": "<repository>"
    },
    "name": "check_github_repository"
  }
}

Input Schema

NameRequiredDescriptionDefault
repositoryYesowner/name or a github.com URL, e.g. "django/django"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, it discloses concrete behavioral facts: only the default branch is scanned, at most 25 lockfiles are examined, runtimes are checked in addition to packages, and the output mirrors check_lockfiles including the prompt_all, mitigation_prompt_all, and check_prompt_all fields. It does not say what happens when a repository exceeds 25 lockfiles (truncation vs. error) or how a non-existent/private repo fails, which is the main remaining gap. Note the mild tension with readOnlyHint=false and openWorldHint=false on a tool that fetches from GitHub and queries OSV.dev, though the description does not affirmatively claim a write.

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?

One dense but well-ordered sentence carries the mechanism, the limits, and the output contract, followed by a short routing sentence to the sibling. The parenthetical list of prompt field names is the only verbose element and it is front-loaded with the most decision-relevant facts (public, default branch, up to 25).

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?

With no output schema, the description correctly spends words on return values, naming the vulnerable-package-plus-fix shape and the agent prompt fields. For a one-parameter read/scan tool this covers almost everything an agent needs; only edge-case behavior (over-limit lockfiles, private or missing repo errors) is left unspecified.

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% for the single parameter, and the schema already explains the accepted 'owner/name' or github.com URL forms, so the description is not obliged to restate them. It does implicitly narrow the parameter's meaning by fixing the scan to the default branch, which tells the agent no branch selector exists. Baseline 3 applies since the description adds no further parameter-level detail.

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?

States a specific verb and resource chain (finds lockfiles on the default branch, checks versions against OSV.dev) with explicit scope: PUBLIC repo, default branch, up to 25 lockfiles. The final sentence distinguishes it cleanly from the sibling check_lockfiles by naming the exact inputs that tool takes, so an agent can tell the two apart without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives both sides of the routing decision: use this for a public GitHub repository, use check_lockfiles when the project is local or the repository is private. It also adds the operational precondition that no API token is required, which removes a common reason an agent might hesitate or pick an alternative path.

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