Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

check_http

Read-only

Send one GET from a remote SSH host to an HTTP(S) endpoint and return status, timing, and TLS details without downloading the body or following redirects.

Instructions

One GET from the host to an HTTP(S) endpoint, e.g. /healthz (curl): status, timings, TLS; no body, no redirects followed. host/port are the SSH connection, not the target.

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_host": "<target_host>",
      "host": "<host>",
      "user": "<user>"
    },
    "name": "check_http"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
pathNo/
portNo
userYes
schemeNohttps
timeoutNo
key_pathNo
target_hostYes
target_portNo
password_envNo
accept_new_hostkeyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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
      +}
    • addedInput schema / properties / scheme / enum
      Added value: +[
      +  "http",
      +  "https"
      +]
  2. Addedv0.3.4

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does add real behavior: no body is returned, redirects are not followed, and the result covers status, timings and TLS. The most valuable disclosure is that host/port describe the SSH transport rather than the HTTP target, which prevents a serious misconfiguration.

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?

Two compact clauses with no filler; the operation and its return surface come first and the transport-vs-target clarification is placed where it will be read before the schema. Slightly dense but every phrase carries information.

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?

An output schema exists, so return values need not be spelled out, and the description still summarizes them briefly. However, for an 11-parameter tool with zero schema descriptions, it omits SSH authentication mechanics (key_path vs password_env, accept_new_hostkey) that an agent needs to call it 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 0% across 11 parameters, so the description must compensate and it only partially does. It disambiguates the highest-risk pair (host/port vs target_host/target_port) but says nothing about user, key_path, password_env, accept_new_hostkey, timeout, scheme or path semantics.

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 specific verb and resource — 'One GET from the host to an HTTP(S) endpoint' — and enumerates what comes back (status, timings, TLS). It implicitly distinguishes itself from check_tcp_connect by being an application-layer HTTP request rather than a raw socket check, though it never names a sibling.

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?

The example '/healthz' implies a health-check use case, but there is no explicit statement of when to pick this over check_tcp_connect or get_dns_lookup, nor any exclusion such as 'use this only after DNS resolves'. Usage is inferable rather than stated.

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