Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_crictl_images

Read-only

Lists container images from a remote node's CRI runtime using crictl over SSH, supporting read-only diagnostics of Kubernetes/CRI image state.

Instructions

Images in the node's CRI runtime (crictl images).

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_crictl_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
userYes
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. Changed1 schema field changedv0.3.3
    • changedInput schema / properties / timeout / default
      Previous value: -20New value: +60
  3. Addedv0.2.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations supply readOnlyHint=true, so the safe-read profile is already covered. Beyond that the description says nothing: it does not disclose that the call opens an SSH connection to a remote host (evidenced by host/user/key_path/password_env parameters), nor any timeout, privilege, or failure-mode behavior. For a remote-execution tool this is a notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded clause with no padding, which is structurally fine. But the brevity is under-specification rather than economy — the parenthetical restates the tool name rather than adding information an agent could act on.

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?

With an output schema present, return values need not be explained, but the tool's real complexity — SSH connectivity to a node with two required and five optional connection parameters, all undocumented — is entirely unaddressed. An agent cannot determine how to authenticate or what host format is expected from the definition alone.

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 7 parameters, and the description adds no information about any of them — nothing about host/user requiredness, port defaults, key_path vs password_env authentication choice, or what accept_new_hostkey implies. The description must compensate here and does not at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (images) and scopes it to the node's CRI runtime, and the parenthetical '(crictl images)' anchors it to a known command, which helps distinguish it from get_docker_images. However, it omits an explicit verb and never says whether it lists, pulls, or inspects images, so the agent must infer 'list' from context.

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 guidance on when to choose this over get_docker_images or get_crictl_inspect_image, and no statement of prerequisites such as requiring access to a node running containerd/CRI-O. The agent is left to infer that 'CRI runtime' means non-Docker container runtimes from the phrase alone.

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