Skip to main content
Glama

mcp-audit — MCP static scan (SARIF + CI)

scan_public_repo

扫描任意公开仓库(github.com / gitlab.com / gitee.com)里的 MCP server 安全风险。直接传仓库 URL,无需下载、无需本地路径。返回按严重度汇总的摘要 + 最多 3 条明细;完整报告(含修复建议/SARIF/CI 模板)见 https://web3project.top/mcp-audit

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_url": "<repo_url>"
    },
    "name": "scan_public_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Because no annotations are provided, the description carries the full burden. It discloses the supported hosts, that no download is required, and importantly that results are truncated to a summary plus at most 3 detail items. It does not say whether the operation is read-only, whether authentication is needed, how long a scan takes, or how to retrieve the full report.

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?

Three compact clauses, each carrying information: domain scope, input contract, output shape and report pointer. Nothing repeats the tool name. The external URL is promotional but still earns its place by explaining the truncation limit on returned results.

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?

An output schema exists, so return values need little explanation. Even so, the description adds the important caveat that only 3 detail items are returned. It is somewhat incomplete for a no-annotation tool: it never addresses authentication, scan duration, or failure modes for private or unreachable repositories.

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 description coverage is 0%: the single parameter appears only as an untyped 'Repo Url' string. The description compensates by defining the accepted format (a full GitHub/GitLab/Gitee URL) and explicitly ruling out local paths. That is meaningful added semantics for the only input.

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: scanning a public repository (github.com / gitlab.com / gitee.com) for MCP server security risks. The scope is explicit. It does not, however, contrast itself with the sibling scan_mcp_server, so an agent must infer which tool to choose when both could apply.

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 context is implied rather than stated: the description says to pass the repository URL directly and that no download or local path is needed. That is a useful precondition. However, it never says when to prefer this tool over scan_mcp_server, nor what to do for private repositories or for unsupported hosts.

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