Skip to main content
Glama
WSL DevSecOps MCP Server

WSL DevSecOps MCP Server

by darkpowerxo

run_security_script

Execute a custom security script from the scripts directory, optionally passing arguments, to automate DevSecOps checks inside a WSL Kali environment.

Instructions

Run a custom security script from the scripts directory

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": {
      "script_name": "<script_name>"
    },
    "name": "run_security_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments to pass to the script (optional)
script_nameYesName of the script file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the entire behavioral burden, yet it discloses nothing about execution semantics: no statement of what the script returns, how output is captured, whether failures surface as errors, or what permission/sandbox constraints apply to arbitrary code execution. It restates the purpose and leaves all risk-relevant behavior unstated.

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?

A single front-loaded sentence with no filler; the action and the source directory come first. Its brevity is efficient rather than padded, though it is arguably terse to the point of under-specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is structurally simple (2 params, no nesting, no output schema), which lowers the bar, but it executes arbitrary user-supplied code and has zero annotation coverage. For that complexity and risk profile, the description omits return behavior, failure modes, and execution constraints that an agent needs before invoking it.

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 description coverage is 100%, so both parameters are already documented in the input schema, making 3 the baseline. The description adds no extra meaning about script_name resolution (path handling, whether a file extension is needed) or how args is parsed or quoted before being passed.

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?

"Run a custom security script from the scripts directory" names a specific verb (run), a specific resource (a security script), and its source location, which is enough to distinguish the action itself. It does not differentiate from siblings such as execute_wsl_command, so it stops short of a 5.

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 or when-not-to-use guidance, no mention of prerequisites (must the script already exist? who may run it?), and no routing to alternatives like execute_wsl_command. Usage is only implied by the phrase "security script".

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