Skip to main content
Glama

List listening TCP ports

exza_network_ports
Read-onlyIdempotent

Read up to 55 local TCP LISTEN socket lines without opening or scanning any ports. May reveal private process/network details; does not change network settings. Requires appropriate OS tool availability.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description goes further by disclosing the 55-line cap, that it is a passive read that opens nothing, the privacy exposure risk, and a dependency on OS tool availability. It stops short of saying what happens when the OS tool is absent (error vs empty result).

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?

Three short sentences, front-loaded with the 55-line cap and the passive-read constraint. Every clause carries a distinct fact (cap, safety, privacy risk, dependency) with no filler.

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 no parameters and no output schema, the description carries the burden of describing return values, and it does so at a high level ('LISTEN socket lines', max 55). It leaves the exact line format and the failure mode when the OS tool is unavailable unstated, which is a modest gap for a simple read tool.

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?

The tool takes no parameters, so parameter semantics is a baseline case; there is nothing for the description to clarify. The 100% schema coverage and zero-param shape mean the schema is complete on its own.

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 ('Read ... local TCP LISTEN socket lines') and adds a distinguishing qualifier ('without opening or scanning any ports') that separates it from a scanning/diagnostics tool. It does not name a sibling explicitly, so it falls 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 Guidelines3/5

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

The contrast with 'scanning any ports' implies when this passive listing is appropriate versus an active probe, but there is no explicit when-to-use, when-not-to-use, or named alternative. Guidance is implied rather than stated.

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