Skip to main content
Glama

hacer_ping

Read-only

Tests host reachability by sending ping packets and reports response status, packet loss percentage, and latency for network connectivity diagnostics.

Instructions

Hace ping a un equipo: indica si responde, el % de pérdida y la latencia.

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": {
      "host": "<host>"
    },
    "name": "hacer_ping"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesIP o nombre del equipo
paquetesNoNúmero de paquetes

Output Schema

NameRequiredDescriptionDefault
hostYes
errorNo
alcanzableYes
rtt_max_msNo
rtt_min_msNo
perdida_pctNo
rtt_media_msNo

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?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-network profile is covered. The description adds that results include reachability, packet loss and latency, but that simply restates the output schema rather than adding behavioral context such as timeout behavior or what happens on unresolvable hosts.

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 short sentence with the action front-loaded and zero filler. Every clause carries information.

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?

The tool is simple, both parameters are fully described in the schema, and an output schema exists so return values need not be spelled out. What remains missing is minor: no note on latency/timeout implications or failure cases when the host does not respond.

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%, with both host and paquetes fully documented including defaults and bounds, so the baseline is 3. The description mentions no parameters at all and adds no meaning beyond the schema, for example whether packet count affects duration.

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?

States a specific verb and resource ("Hace ping a un equipo") and even names the reported results (response, loss %, latency). It is clearly distinguishable from siblings like comprobar_puerto or resolver_dns by the operation itself, though it never explicitly contrasts with them.

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?

Usage is only implied: an agent can infer this is for checking basic reachability of a host. There is no explicit when-to-use guidance, no mention of when to prefer comprobar_puerto or comprobar_ip_en_red, and no stated prerequisites such as network access.

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