Skip to main content
Glama

European Accessibility Act (Directive 2019/882) & BFSG Auditor

contextguard_scan_public_repo

Read-onlyIdempotent

Scans a public GitHub repository (owner/repo) for instruction files (AGENTS.md, .cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md), measures startup token burn and hidden bidi/zero-width Unicode prompt-injection risks, and compiles a <5 KB START.md boot card.

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

Input Schema

NameRequiredDescriptionDefault
repoYesPublic GitHub repository slug in owner/repo format (e.g. oneandroid-max/contextguard-mcp).
proKeyNoOptional Second Foreman SC1. Pro license key to unlock the full compiled <5 KB START.md output.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds useful context about hidden Unicode prompt-injection checks and START.md compilation, but it does not clarify that proKey gates the full compiled output or explain any rate-limit/return behavior.

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?

The description is a single dense sentence that is front-loaded with the core action and contains no obvious filler. The file list and risk measurements make it longer but still purposeful.

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?

There is no output schema, so the description should carry more of the return-value burden. It mentions compiling a <5 KB START.md boot card, but does not describe the scan report structure or how the proKey changes the output.

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 both parameters are already documented in the schema. The description adds no additional meaning for repo or proKey beyond what the schema provides, which is the baseline expectation when schema coverage is complete.

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 states a specific verb and resource: scans a public GitHub repository and enumerates the instruction files it looks for. It is clear what the tool does, but it does not explicitly differentiate itself from siblings such as contextguard_audit_markdown or contextguard_slim_boot_card.

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?

The public-repo scope and listed instruction files imply when this tool is appropriate, but there is no explicit guidance on when to use it versus related ContextGuard tools. No exclusions or alternative-selection rules are provided.

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.