Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_ip_neigh

Read-only

Retrieve the ARP/NDP neighbor table over SSH to identify unreachable addresses marked FAILED or INCOMPLETE. Use it to diagnose connectivity issues on a remote host.

Instructions

The ARP / NDP neighbor table (ip neigh): FAILED or INCOMPLETE is an address that does not answer.

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>",
      "user": "<user>"
    },
    "name": "get_ip_neigh"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
userYes
detailsNo
timeoutNo
key_pathNo
password_envNo
accept_new_hostkeyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • removedInput schema / properties / password
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • addedInput schema / properties / password_env
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Addedv0.3.4

TDQS

C2.7/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read, so the description only needs to add context. It does add useful interpretive meaning — that FAILED or INCOMPLETE entries indicate a non-responding address — but says nothing about the SSH connection model implied by the required host/user parameters or about timeout behavior.

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?

A single short sentence with the resource front-loaded and no padding. The trailing state note earns its place as genuine added meaning, though the colon construction is slightly elliptical.

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?

An output schema exists, so return values need not be described, but the tool has 8 parameters with zero schema documentation and no explanation of the SSH connection requirements or authentication options. For a tool requiring host/user plus credential handling, the description leaves an agent guessing about how to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, and the description supplies no parameter meaning at all. Nothing explains host, user, port, timeout, key_path, password_env, accept_new_hostkey, or what details=true changes, so the schema names carry the entire undocumented burden.

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 the exact resource ('ARP / NDP neighbor table (ip neigh)'), which is specific enough that an agent knows it retrieves layer-2/3 neighbor cache entries. It does not distinguish this from siblings like get_ip_addr or get_ip_route, so the agent must infer the boundary from the resource name alone.

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 and no named alternative for related tasks such as checking assigned addresses (get_ip_addr) or routes. The second clause explains how to read a FAILED/INCOMPLETE state once you have the data, which is interpretation help rather than invocation guidance.

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