Skip to main content
Glama

arsenal_deep_scan

Scans a GitHub repository's install and build files for malicious supply-chain patterns such as curl|sh, eval, webhooks, and postinstall hooks before you install or run code.

Instructions

Deep supply-chain security scan of a GitHub repo's install/build files (setup.py, package.json, install.sh, Dockerfile) for malicious patterns (curl|sh, eval, webhooks, postinstall hooks).

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": "arsenal_deep_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.5.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses scope (which files are read) and method (pattern matching for malicious shims), which is real behavioral context, but it says nothing about authentication or token requirements for a private repo, rate limits, whether it clones/fetches anything, or what the result looks like.

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?

A single front-loaded sentence with the action, the target files and the threat patterns in descending order of importance. Every clause adds information; nothing is padding.

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?

For a one-parameter read-style scan with no output schema and no annotations, the description covers what is inspected and what it looks for, which is most of what an agent needs to select it. The missing pieces are the repo-identifier format and the shape of the findings, which keeps it short of full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter 'repo' has no schema description (0% coverage). The description only implies it identifies a GitHub repository, without specifying whether the value is an owner/name slug, a full URL, or an ID, so an agent can still easily pass a malformed value.

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 'deep supply-chain security scan' of a GitHub repo's install/build files, and even enumerates the exact files (setup.py, package.json, install.sh, Dockerfile) and patterns hunted (curl|sh, eval, webhooks, postinstall hooks). That is far more specific than a tautology, but it never names or contrasts with plausible siblings such as arsenal_audit_repo or arsenal_inspect_repo, so an agent must infer the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use instruction, no when-not-to-use, and no alternative named. The word 'deep' hints at a distinction from a lighter scan, but the hinted contrast is never resolved into guidance, leaving the agent to guess between this and the audit/inspect siblings.

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