Skip to main content
Glama

Run security tests

run_security_tests

Execute OWASP API Top 10 security checks on test environments, judge scanner SARIF results, and generate release-gate evidence with PR-ready findings and fixes.

Instructions

Run the OWASP API Top 10 checks on a test environment (refused on production-like names) and judge scanner SARIF results; writes .qa-mcp/security-report/ (JSON evidence for the Release Gate, Markdown for the PR). Returns the verdict, findings with evidence and fixes, and tests that failed or were inconclusive. checks: any of auth, bola, bfla, mass_assignment, data_exposure, headers, errors, rate_limit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_security_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksNo
environmentNo
include_scannersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/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 discloses useful behavior: refusal on production-like names, the write target '.qa-mcp/security-report/' with its JSON and Markdown artifacts, and the return contents (verdict, findings with evidence and fixes, failed or inconclusive tests). It does not state auth requirements, rate limits, or whether the tool actually executes the scanners itself, which leaves some gaps.

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?

The description is front-loaded with the core action and safety constraint, then lists the return payload and the checks values. It is dense but every clause carries information. The final 'checks:' list is slightly tacked on, but the structure remains clear.

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?

The tool has no annotations, no output schema, and 3 parameters with 0% schema coverage. The description compensates well by explaining the safety constraint, the artifacts written, and what is returned. The main omission is the meaning of 'environment' and 'include_scanners', which leaves the agent guessing about two of the three inputs.

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 0%, so the description must compensate. It does so for 'checks' by enumerating the valid values (auth, bola, bfla, mass_assignment, data_exposure, headers, errors, rate_limit), which substitutes for the missing enum. However, 'environment' and 'include_scanners' are never explained, and 'include_scanners' is only obliquely implied by 'judge scanner SARIF results'.

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?

The description names a specific verb and resource: run OWASP API Top 10 checks against a test environment and judge SARIF results. It is clear what the tool does. However, it does not distinguish this tool from the sibling judge_scanner_results, which the phrase 'judge scanner SARIF results' overlaps with, so an agent cannot tell from the description alone which of the two to use.

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 parenthetical '(refused on production-like names)' gives a clear when-not constraint, and the description limits the tool to a test environment. However, there is no explicit guidance on when to use this tool instead of judge_scanner_results or init_security_config, so the agent must infer the boundary from the overlapping wording.

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