Skip to main content
Glama
rmschn

MCP Simple Example

by rmschn

network-ping

Send ICMP echo requests to a host to test connectivity, measure latency, and diagnose network issues by reporting packet loss and response times.

Instructions

Send ICMP echo requests to a host to test connectivity and measure latency.

USE CASES:
- Check if a host is reachable over the network
- Measure round-trip time (latency) to a host
- Diagnose network connectivity issues
- Verify if a firewall is blocking ICMP traffic

WHAT IT DOES:
- Sends multiple ICMP echo request packets to the target host
- Waits for echo response packets
- Reports packet loss percentage and response times

PARAMETERS:
- host: Required. The hostname or IP address to ping (e.g., 'google.com', '8.8.8.8')
- count: Optional. Number of ping packets to send (default: 4)

OUTPUT:
- Packet loss statistics
- Min/Avg/Max response times
- Will show '100% packet loss' if host is unreachable or blocking ICMP

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesThe hostname or IP address to ping (e.g., 'google.com' or '192.168.1.1')
countNoNumber of ping packets to send (default: 4)
Behavior4/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It discloses the mechanics (sends multiple ICMP echo requests, waits for responses), the metrices (packet loss, response times), and the failure behavior ('100% packet loss' when unreachable). While it does not explicitly state that this is a non-destructive read-only operation, the described behavior makes that clear, and no contradictions exist.

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 description is well-organized into USE CASES, WHAT IT DOES, PARAMETERS, and OUTPUT, making it easy to parse quickly. It is mostly concise but has some redundancy, such as the opening sentence and WHT IT DOES both stating that it sends ICMP echo requests.

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

Completeness5/5

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

Given the tool's low complexity, complete schema, and lack of an output schema, the description covers all necessary ground: purpose, use cases, behavior, parameter explanations, and output format including failure scenario. An agent has enough information to select and invoke the tool correctly.

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 the schema already fully documents both host and count. The description's PARAMETERS section largely repeats the schema content, adding example values but no additional meaning beyond what the schema already provides. Therefore, the baseline of 3 is appropriate.

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 opens with a specific verb and resource: 'Send ICMP echo requests to a host to test connectivity and measure latency.' This clearly defines the tool's core function. However, it does noot explicitly distinguish itself from the sibling tool network-traceroute, so it misses the full 5 for sibling differentiation.

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 USE CASES section provides explicit scenarios such as 'Check if a host is reachable' and 'Diagnose network connectivity issues,' giving clear context for when to use the tool. It does not mention when not to use it or point to network-traceroute as the alternative for route-path diagnistics, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rmschn/simple_mcp_example'

If you have feedback or need assistance with the MCP directory API, please join our Discord server