Skip to main content
Glama
Penthera: Cyber Security Agent

Penthera: Cyber Security Agent

Scan a running app (passive)

scan_url
Read-onlyIdempotent

Run a passive black-box scan of a running web app to check TLS, security headers, cookies, CORS, exposed files, OpenAPI and auth checks. Sends no attack payloads; use it for live apps, not source.

Instructions

Passive black-box scan of a running web app the user is authorized to test: TLS, security headers, cookies, CORS, exposed files and docs, OpenAPI and auth checks. Sends no attack payloads: profile quick sends no login request, standard sends one POST /api/login with invalid credentials. Only loopback targets, or hosts the user listed with --allow-host when configuring this server, can be scanned, and a redirect off them is refused. Use it for an app that is running; scan_repo reads the source instead. Returns the brief first (verdict, act on, check first, likely noise, not checked), then findings most severe first with rule, severity, confidence and file:line evidence; truncated says if more were left out.

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": {
      "url": "<url>"
    },
    "name": "scan_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttp(s) URL of the app, e.g. http://localhost:3000
profileNoquick skips Retire.js and parameter discovery; standard is the full passive scan (default).
max_findingsNoHow many findings to return, most severe first (default 50). The brief always counts all of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.0
    • changedInput schema / properties / max_findings / description
      Previous value: -"How many findings to return, most severe first (default 50)."New value: +"How many findings to return, most severe first (default 50). The brief always counts all of them."
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses that no attack payloads are sent, that quick sends no login request while standard sends one invalid-credential POST, that only loopback or allow-listed hosts may be scanned, and that redirects off those hosts are refused. It also describes the return order and truncation behavior.

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 definition is front-loaded with purpose and then moves through safety, host constraints, sibling differentiation, and output shape. It is dense and long, but most sentences carry useful information rather than filler.

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

Completeness5/5

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

There is no output schema, but the description explains the return structure well: brief first, then findings ordered by severity with rule, severity, confidence and file:line evidence, plus a truncated indicator. Combined with annotations and full schema coverage, this is complete for the tool's complexity.

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

Parameters4/5

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

Schema coverage is already 100%, so baseline is 3. The description adds meaningful behavioral context for the profile parameter, explaining that quick avoids login and standard sends one invalid-credential POST, but it does not add much beyond the schema for max_findings.

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 states a specific verb and resource: a passive black-box scan of a running web app, with concrete coverage areas such as TLS, headers, cookies, CORS, exposed files, OpenAPI and auth. It also distinguishes this tool from scan_repo by saying scan_repo reads source instead.

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

Usage Guidelines5/5

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

It explicitly says to use this for an app that is running and names scan_repo as the source-code alternative. It also explains profile behavior and host restrictions, making the conditions for safe use clear.

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