Skip to main content
Glama
whyashthakker

beam-mcp

Scan a local file for risky agent instructions

beam_scan_path

Scan local agent skill files or MCP server configs for risky AI agent patterns using Beam's offline heuristic risk scanner. Read-only and fully local, it never modifies the file.

Instructions

Run Beam's offline heuristic risk scanner over a file already on disk — an agent skill/instruction file or an MCP server config. Read-only: the file is never modified. Runs entirely locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoWhat the content is: an agent skill/instruction file, or an MCP server config (checks version pinning too)skill
pathYesAbsolute or relative path to the file to scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations provided, so description carries burden. It discloses read-only behavior and that it runs entirely locally, which are key safety and operational traits. Does not cover output format but covers the most critical behavior.

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 sentences with no filler. Purpose and key constraints are front-loaded, making it immediately actionable.

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?

With two simple params, no output schema, and no annotations, the description adequately covers what the tool does, its input, and safety constraints. Missing explicit mention of return format is minor for a scan tool.

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 covers all parameters with descriptions and enum for kind. Description minimally reinforces the type of file but doesn't add new meaning beyond the schema. Baseline 3 is appropriate given 100% schema 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 clearly states it runs Beam's offline heuristic risk scanner on a local file, specifying types (agent skill/instruction or MCP server config). It effectively distinguishes from beam_scan_content by emphasizing 'file already on disk'.

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?

Provides clear context on when to use: scanning files already on disk, with examples of file types. Does not explicitly state when not to use or alternatives, but the local-file focus and MCP config mention differentiate it well.

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