Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_coredumps

Read-only

List core dumps on a remote host or inspect details for a specific or latest coredump via coredumpctl over SSH to diagnose crashes read-only.

Instructions

Core dumps (coredumpctl): command='list' lists them, command='info' shows one (pid, or the latest).

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

Input Schema

NameRequiredDescriptionDefault
pidNo
hostYes
portNo
userYes
linesNo
sinceNo
commandNolist
timeoutNo
key_pathNo
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
    • addedInput schema / properties / command / enum
      Added value: +[
      +  "list",
      +  "info"
      +]
    • 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.9/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description adds the list-vs-info behavior. However, for an 11-parameter SSH-backed tool it says nothing about remote connection requirements (host/user/port/key_path/password_env/accept_new_hostkey), timeout behavior, or how 'lines' and 'since' bound the output. Those are exactly the behavioral traits annotations do not cover.

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 zero filler; the mode semantics are front-loaded. The awkward line break splits the sentence but does not obscure meaning.

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. Still, an 11-parameter remote-execution tool with 10 undocumented parameters needs at least connection/auth and result-limiting context, which the description does not provide.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden. It clarifies the 'command' enum values and that 'pid' selects the dump for 'info' (defaulting to latest), but leaves host, user, port, lines, since, timeout, key_path, password_env, and accept_new_hostkey entirely unexplained.

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 resource (core dumps via coredumpctl) and enumerates the two modes, so an agent can tell it retrieves core dump data rather than, say, cron jobs or docker logs. It lacks a crisp leading verb (the sentence starts with the noun), but the scope is specific and unambiguous.

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?

It implies usage through the command modes ('list' to enumerate, 'info' to fetch a single one by pid or the latest), which is enough to pick a mode. It gives no guidance on when this tool is preferable to siblings like get_dmesg, and no preconditions for the info path (e.g. that pid is only meaningful there).

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