Skip to main content
Glama

buygit_audit_repo

Audit any GitHub repository to get license, supply-chain risk, popularity, and repo signals. Determine if it's safe to bundle and what license it uses.

Instructions

Audit any external GitHub repo (not just BuyGit catalog) — returns license + supply-chain risk + popularity + repo signals in one shot. If the repo is already in our catalog, uses the richer cached signals. Otherwise lives-probes the GitHub REST API. Use for "is github.com/X/Y safe to bundle?" or "what license is github.com/X/Y under?".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesgithub.com/{owner}/{repo} URL. Strict github.com host enforcement.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesWhich path satisfied the request — catalog row or live GitHub REST probe.
repo_urlYes
listingNoPresent when source = catalog. Cached BuyGit listing with full signals.
auditNoPresent when source = github-live. Live GitHub REST probe + derived signals.
caveatNoPresent when source = github-live. Explains the live-probe limitations.
companion_mcpsNoRecommended companion MCPs to chain with for deeper checks (Socket, OpenSSF, TruffleHog).
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the tool returns specific signals and that it uses cached data if the repo is in the catalog, otherwise probes the API. It does not mention rate limits, authentication, or error handling, but for a simple audit tool this is moderately transparent.

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 sentences: the first states the core functionality and results, the second provides usage context and behavioral notes. Every sentence adds value with no redundancy.

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?

Given the tool has an output schema (not shown but noted), the description need not explain return values. It covers the tool's scope (external repos), behavior (cached vs live), and typical use cases. Could mention read-only nature explicitly but is otherwise complete.

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%, so the schema already thoroughly describes the URL parameter with pattern, examples, and max length. The description adds context about the parameter (it's a GitHub URL) but does not add significant new meaning beyond the schema. Baseline score of 3 is appropriate.

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 clearly states it audits external GitHub repos for license, supply-chain risk, popularity, and repo signals, distinguishing it from sibling tools by specifying it's not limited to BuyGit catalog. Specific verb 'audit' and resource 'external GitHub repo' are given, with clear purpose.

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

Usage Guidelines4/5

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

The description explicitly tells when to use the tool: 'is github.com/X/Y safe to bundle?' or 'what license is github.com/X/Y under?'. It also explains behavior for cataloged vs. non-cataloged repos. However, it does not explicitly state when not to use or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/genoxdeveloper/buygit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server