Skip to main content
Glama

Run Nping

run_nping

Crafts custom TCP, UDP, ICMP, and ARP probes with configurable TTL, port, and flags to test firewall rules and network path behavior.

Instructions

Network packet generation tool for custom TCP, UDP, ICMP, and ARP probes. Tags: network, reconnaissance, discovery

Usage Guide: Use nping to craft specific TCP packets (like SYN probes) with custom TTL values to test firewall rules or network path behavior.

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": {
      "target": "<target>"
    },
    "name": "run_nping"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNoTime-to-Live value for the packet.
portNoDestination port (default 80).
flagsNoTCP flags to set (e.g., "syn", "ack", "fin").syn
targetYesTarget IP or hostname.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It implies active packet emission against a target (inherently intrusive and detectable), but says nothing about privilege/raw-socket requirements, rate or volume of traffic generated, or whether the tool is safe against production hosts. With an output schema present, return values need not be explained, which keeps this from dropping lower.

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 core purpose is front-loaded in one sentence and the usage note is compact. The 'Tags: network, reconnaissance, discovery' line adds little actionable information but does not obscure the content.

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 4-parameter tool with one required argument and an output schema, the description is adequate but leaves gaps: it advertises UDP, ICMP, and ARP probes while the schema only exposes TCP-oriented parameters (flags, port), with no protocol selector, so an agent cannot tell how to invoke the non-TCP modes it was told about.

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 coverage is 100%, so the schema already documents ttl, port, flags, and target, establishing the baseline of 3. The description reinforces the interpretation of ttl/flags by referencing SYN probes with custom TTL values, but adds no new syntax or format detail beyond the schema.

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 capability — crafting custom TCP/UDP/ICMP/ARP probes for packet generation — which is clearly distinct from scan-oriented siblings like run_nmap or run_masscan. It stops short of explicitly contrasting itself against any named alternative, so it is clear but not fully differentiated.

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?

The Usage Guide gives a concrete when-to-use: craft TCP packets (SYN probes) with custom TTL to test firewall rules or path behavior. There is no when-not guidance and no named alternatives for cases where a standard scan would be the better choice.

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