Skip to main content
Glama

Malware scan for a public GitHub repo (paid, $0.05)

malware_scan_repo
Read-only

PAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for a public GitHub repo (working tree + history) before cloning it for use. Public repos only — no tokens, no private repos, nothing stored. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].

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": {
      "repoUrl": "<repoUrl>"
    },
    "name": "malware_scan_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoUrlYesPublic https://github.com/owner/repo URL.

Output Schema

NameRequiredDescriptionDefault
repoNoRepo scanned
_paidNox402 receipt
factsNoFacts: files scanned, commits scanned, blobs scanned, flagged files, flagged blobs
scoreNoRisk score 0-100
actionNoallow | review | block
malwareNoAttribution: family, confidence, campaign, basis
summaryNoOne-sentence summary
verdictNoclean | suspicious | dangerous
confidenceNohigh | medium | low
topFindingsNoTop findings, at most 5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations, it discloses paid x402 cost and rails, the two-call PaymentRequired flow, no storage, public-only access, and static scanning of working tree plus history. These details are consistent with readOnlyHint=true and destructiveHint=false.

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?

It is three efficient sentences, front-loaded with PAID/cost and then purpose, constraints, and payment mechanics. Every clause contributes useful invocation context.

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

Completeness5/5

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

The tool has an output schema, so return values need not be explained in the description. The description covers the key invocation-critical details: cost, payment flow, scan scope, and repo restrictions.

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?

There is one parameter, repoUrl, with 100% schema description coverage already specifying a public https://github.com/owner/repo URL. The description reinforces the public/no-private constraint but adds little about format beyond the schema.

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: a static malware scan for a public GitHub repo, covering working tree and history. The repo-specific scope and pre-clone framing distinguish it from a generic malware scan.

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?

Tells when to use it ('before cloning it for use') and when not ('Public repos only — no tokens, no private repos'), plus the payment handshake. It does not explicitly name an alternative sibling for comparison, so it is clear but not fully exhaustive.

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.