Skip to main content
Glama

Netcat Test

netcat_test

Test port connectivity to a target host and port using netcat, with an optional timeout, to diagnose reachability and service availability.

Instructions

Test port connectivity using netcat

Input Schema

NameRequiredDescriptionDefault
hostYesTarget host
portYesTarget port
timeoutNoTimeout in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden but says nothing beyond the one-liner. It does not explain what a successful or failed result means (open vs closed vs filtered), whether it requires the netcat binary on the server, or how the timeout changes behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is structurally clean. However, the terseness leaves no room for any of the selection or behavioral detail the rest of the definition needs.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only place to explain what the tool returns and how to interpret it, and it does not. For a network diagnostic tool this is a meaningful gap, though the required parameters are at least clear from the schema.

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 host, port, and timeout are already documented in the schema. The description adds no extra semantics such as accepted port ranges, hostname vs IP, or timeout units, so baseline 3 applies.

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 gives a clear verb and resource: "Test port connectivity." The trailing "using netcat" identifies the underlying mechanism but does not distinguish it from connectivity siblings such as telnet_connect, port_scan, or nmap_scan, so an agent gets the basic purpose but no differentiation.

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 when-to-use guidance, no stated preconditions, and no alternatives named. With siblings like telnet_connect, port_scan, and nmap_scan in the same family, the agent must guess which connectivity tool is appropriate.

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