Skip to main content
Glama

package_audit

Check a local folder before install or run to flag executables, setup scripts, network code with file and line, and secret-shaped strings; values are not exposed and files are not executed.

Instructions

Scan a local folder before you install or run what is in it: executable files, install and setup scripts, code that opens network connections with file and line, and secret shaped strings with the kind of secret and where it sits. Secret values are never read out. Nothing in the folder is executed.

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": {
      "path": "<path>"
    },
    "name": "package_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the folder or file to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it states that nothing in the folder is executed, that secret values are never read out (only kind and location), and that findings include file and line numbers. It does not cover limits (folder size, symlinks, binary handling), depth of traversal, or how results are ordered, which leaves some operational uncertainty for a scanner run against arbitrary content.

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?

Front-loaded with the action and the use condition, with the safety guarantees grouped at the end. The middle enumeration is long and somewhat run-on, but every clause identifies a distinct finding category rather than 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?

There is no output schema, so the description must convey the return value, and it does so by naming the finding categories and the associated file/line and secret-kind metadata. Gaps remain on result format, severity ranking, and scan limits, but nothing essential to invoking it is missing.

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 100% for the single 'path' parameter, so the schema already defines it fully. The description implies the target is a local folder and that scanning happens pre-install, but adds no syntax, relative-vs-absolute, or recursion detail beyond the schema. Baseline 3 is appropriate.

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?

Opens with a specific verb and resource ('Scan a local folder') and immediately enumerates exactly what it looks for: executables, install/setup scripts, network-connecting code with file and line, and secret-shaped strings. An agent can tell this apart from sibling scanners like secret_scan or capsule_inspect because the scope (a local folder pre-install/pre-run) and the finding categories are stated explicitly.

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 phrase 'before you install or run what is in it' gives a clear triggering condition for use. It does not name exclusions or point to alternatives such as secret_scan for a narrower secret-only check, so it stops short of full routing guidance.

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