Skip to main content
Glama

scan_repo

Scan a public GitHub repo (owner/repo or URL) for leaked secrets, .env files, eval, SQLi, CORS and other risky patterns common in AI-written code.

Input Schema

NameRequiredDescriptionDefault
repoYesowner/repo or https://github.com/owner/repo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It scopes the operation to public repos and implies a read-only scan by using 'Scan' and listing detected patterns, but it does not explicitly confirm read-only behavior, describe permissions or rate limits, or explain whether any data is stored or returned. This provides partial transparency but leaves 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 a single efficient sentence that front-loads the action and resource, then lists the risky patterns. Every clause contributes useful information without repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool, the description clearly covers purpose and input requirements, which is enough to invoke it at a basic level. Because there is no output schema, however, it could say more about what the scan returns or any limitations, leaving the definition minimally complete rather than fully self-sufficient.

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 single 'repo' parameter and its accepted formats are already fully documented in the schema. The description restates that it accepts an owner/repo or URL but adds no syntax or validation details beyond what the schema provides; the baseline of 3 is therefore 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 uses a specific verb ('Scan') and resource ('public GitHub repo') and enumerates the exact risk categories it looks for, including leaked secrets, .env files, eval, SQLi, and CORS. This makes the tool's function immediately clear; there are no sibling tools to confuse it with.

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?

It specifies that the repo must be public and gives accepted input formats (owner/repo or URL), which gives useful context for invocation. However, it does not explicitly state when to use this tool, when not to use it, or any prerequisites; with no sibling tools, there is no alternative routing to explain, but the guidance remains implicit rather than explicit.

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.