Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as NovaPixel LexGrid. If you published it, claim ownership there.

Critical Port & Database Exposure Leak Detector

port_leak_detector
Read-onlyIdempotent

[Non-invasive bounded TCP probe with SSRF protection. Read-only, side-effect free]. Probes target host for exposed critical infrastructure ports (MySQL 3306, Postgres 5432, Redis 6379, MongoDB 27017, Elasticsearch 9200, unauthenticated Docker 2375). Strictly non-destructive, with private IP / localhost SSRF protection. Usage: Use this tool to audit perimeter firewall configuration and identify exposed database ports. Does NOT exploit vulnerabilities or alter server configuration. Returns: JSON object with { target: string, scannedPortsCount: number, exposedPorts: Array<{ port: number, service: string, riskLevel: 'HIGH' | 'CRITICAL' }>, perimeterSecurityStatus: 'SECURE' | 'EXPOSED', recommendations: string[] }.

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": {
      "hostname": "<hostname>"
    },
    "name": "port_leak_detector"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostnameYesTarget domain or public IP address to inspect
timeoutMsNoPer-port socket connect timeout in milliseconds (500-3000ms)
customPortsNoOptional list of specific custom ports to probe (max 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description goes beyond them by disclosing the probe is bounded/non-invasive, that SSRF protection blocks private IPs and localhost (a behavior that will cause failures on internal targets), and that custom ports are capped. It stops short of describing rate limiting or failure/timeout semantics at the response level.

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?

Structure is strong: a bracketed safety/behavior note, a Usage line, and a Returns line, all front-loaded. The text is somewhat dense (port list, SSRF note, returns schema inline) but nearly every element carries operational value; the redundant restatement of non-destructiveness across the bracket and the Usage line is minor waste.

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 three parameters and no output schema, the description carries the return contract itself, fully specifying the JSON shape and the perimeterSecurityStatus enum, plus safety and SSRF constraints. The main residual gap is the interaction between default ports and customPorts, which an agent would need to call the tool confidently.

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 hostname, timeoutMs with its 500-3000ms range, and the max-10 customPorts are already documented. The description adds only indirect meaning — the enumerated default port set — and does not clarify whether customPorts replaces or augments that default set, leaving the one genuinely ambiguous interaction unaddressed. Baseline 3 applies.

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 precise verb and resource (bounded TCP probe of a target host for exposed critical infrastructure ports) and enumerates the exact services checked (MySQL 3306, Postgres 5432, Redis 6379, MongoDB 27017, Elasticsearch 9200, Docker 2375). This makes it unmistakable against the listed siblings, none of which touch network perimeter scanning.

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?

An explicit 'Usage:' line frames the tool as a perimeter/firewall audit for exposed database ports, and it explicitly excludes exploitation and server configuration changes ("Does NOT exploit vulnerabilities or alter server configuration"). It does not name an alternative tool, but no sibling covers this domain, so the missing routing is not a practical gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources