Skip to main content
Glama

Malware scan for a folder of files (paid, $0.05)

malware_scan_batch
Read-only

PAID over x402 inside this tool call ($0.05 USDC on Base or Arc): static PolinRider / Contagious Interview malware scan for up to 100 files (2 MB each, 10 MB total) in one call, one verdict for the folder. Static only — files are never executed, scanned in memory, never 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": {
      "files": "<files>"
    },
    "name": "malware_scan_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to scan, each with filename and full text content. Max 100 files, 2 MB each, 10 MB total.

Output Schema

NameRequiredDescriptionDefault
_paidNox402 receipt
factsNoFacts: files scanned, flagged files, flagged file names
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.4/5.0
Behavior5/5

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

Annotations already declare readOnly/open-world/non-destructive, and the description adds real context beyond them: it is paid ($0.05 USDC on Base or Arc), static-only, files are never executed, are scanned in memory, are never stored, and the folder yields a single aggregated verdict. No contradiction with the annotations.

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?

Front-loaded with the most decision-critical fact (PAID, amount), then purpose and limits, then the two-step payment procedure. Three dense sentences with no filler.

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?

An output schema exists, so return values need no explanation, and the description covers price, payment mechanics, input limits, and the no-execution/no-storage guarantees. Nothing an agent needs before calling is absent.

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 coverage is 100% for the single 'files' parameter, so the schema carries the per-item shape. The description adds meaning the schema does not: the aggregate size/count ceilings for the whole request and the undocumented _meta["x402/payment"] invocation channel.

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?

States a specific verb and resource — a static malware scan over a batch of files — plus concrete scope (up to 100 files, 2 MB each, 10 MB total, one verdict for the folder). That scope implicitly separates it from a single-file or repo scanner, but no sibling is named explicitly, so differentiation is left slightly to inference.

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 x402 call sequence is spelled out precisely: call once unpaid to obtain the PaymentRequired challenge, then retry with the signed payment in _meta["x402/payment"]. It does not say when to prefer this over malware_scan or malware_scan_repo, so the alternative-selection half of the guidance is missing.

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.