Skip to main content
Glama

scan_package

Security-scan a Thunderstore package by decompiling it, flagging risky APIs and native code, and running Windows Defender without executing the mod.

Instructions

Security-scans a Thunderstore package (Owner-Name or Owner-Name-1.2.3): decompiles it, flags risky APIs and native code, and runs Windows Defender. Only downloads; never runs the mod.

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": {
      "package": "<package>"
    },
    "name": "scan_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYes
antivirusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full load and does well: it discloses the scan pipeline (decompile, risky-API and native-code flagging, Windows Defender), and crucially that the tool only downloads and never executes the mod, which is the key safety fact. It stops short of runtime expectations such as scan duration, network cost, or failure modes when Defender is unavailable.

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?

Two tight sentences, front-loaded with the action and the input contract, then the behavioral guarantees. No filler or repetition of the tool name.

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 structure need not be described; the description covers purpose, input format, and safety behavior adequately for a two-parameter scanner. The one real hole is the undocumented antivirus toggle, which an agent could plausibly need to set.

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 coverage is 0%, so the description must compensate for both parameters. It does fully explain the required 'package' parameter's two accepted syntaxes, but the 'antivirus' boolean (default true) is never mentioned, leaving the agent to guess that it can disable the Defender pass and what that costs in coverage.

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 opens with a specific verb and resource ('Security-scans a Thunderstore package') and immediately scopes it with the accepted identifier formats, which cleanly separates it from siblings like install_mod or mod_info.

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 accepted package format implicitly tells the agent what input this tool wants, but there is no explicit statement of when to pick this over mod_info or install_mod, and no stated preconditions such as needing the package to exist on Thunderstore.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.