Skip to main content
Glama

lantern_scan

Discover active TCP listening services on a host, including process attribution, Docker container correlation, and network reachability classification for localhost, LAN, and VPN exposure.

Instructions

Discover active TCP listening services on the host machine, including process attribution, Docker container correlation, and network reachability classification (localhost, LAN, VPN).

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": "lantern_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full safety burden, and it does disclose that results are enriched with process attribution, Docker correlation, and reachability classification. However, it says nothing about whether the scan is read-only, what privileges or host access it requires, how long it takes, or whether it has any side effects on the host.

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?

A single front-loaded sentence with the action and target stated first and the result enrichments following. Every clause adds information and nothing is redundant.

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

Completeness3/5

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

For a zero-parameter scan with no output schema and no annotations, the description conveys the categories of information returned, which is the main missing piece. It still omits output format, expected runtime, and privilege requirements, so it is adequate but not complete for a host-scanning tool.

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?

The tool takes zero parameters, so there is no parameter semantics for the description to compensate for, and the baseline of 4 applies. The description correctly allocates no space to parameter explanation.

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 ("Discover active TCP listening services on the host machine") and enumerates three concrete enrichment dimensions, so an agent knows exactly what the scan returns. It does not differentiate itself from siblings like lantern_doctor or lantern_why, but the purpose on its own is unambiguous.

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 statement of when to reach for this scan versus the sibling diagnostic tools, and no preconditions or exclusions are given. Usage can only be inferred from the verb "discover," which is thin for a tool in a family of diagnostics.

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

Deploy Server

Other Tools