Skip to main content
Glama

ssh_preflight

Read-onlyIdempotent

Checks an SSH target for benchmark-ready Python, NumPy, ONNX Runtime, and providers without copying files, so you can confirm prerequisites before running a remote benchmark.

Instructions

Check whether an SSH target is benchmark-ready (python3, numpy, onnxruntime and its providers) without copying anything. Run before benchmark_remote_ssh.

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": "<target>"
    },
    "name": "ssh_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesSSH host alias or user@host

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description meaningfully adds that nothing is copied to the target, clarifying it is non-installing rather than merely non-destructive. It does not say what happens on a negative result or whether failure raises vs returns a report, leaving a minor gap.

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?

Two short sentences, zero filler, with the capability stated first and the sequencing instruction second. Every clause carries information an agent needs.

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?

For a one-parameter read-only preflight this is nearly complete; the criteria checked and the ordering relative to benchmark_remote_ssh are both given. Since there is no output schema, a hint about the shape of the result (pass/fail per dependency) would close the remaining gap.

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 coverage is 100% and the single 'target' parameter is already documented in the schema as 'SSH host alias or user@host'. The description adds no format, authentication or alias-resolution detail beyond that, so the schema does all the work.

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

Purpose5/5

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

States a specific verb and resource ('Check whether an SSH target is benchmark-ready') and enumerates the exact readiness criteria: python3, numpy, onnxruntime and its providers. The phrase 'without copying anything' further pins down that this is a pure inspection, distinguishing it from the sibling benchmark_remote_ssh it names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Run before benchmark_remote_ssh' gives an explicit ordering rule that tells the agent exactly when to reach for this tool over the sibling. It stops short of stating when-not-to-use (e.g. when the target is already known good), so it falls just short of a 5.

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