Skip to main content
Glama

OpenFactory

ssh_test_identity

Prove key-only SSH login on a session VM with a session-scoped identity the platform provisions.

The owner's requirement is sshd's policy -- public keys accepted, passwords and root refused -- not one particular key, and a verification cannot wait for the owner's own key: headless-pentest-debian (ae4fb901, 2026-10-20) parked for it with 41 of 45 checks passing. This is the one sanctioned change to a session VM: the platform generates an ed25519 key in the VM's tmpfs, authorizes it for user, and probes over loopback -- key login (a shell as the user), password login with keys disabled (refused), root login (refused) -- and reads sshd's effective settings. The key never enters the image; the disposable VM is the only place it exists. Record the returned facts in a verification step bound to the owner's SSH checks, with the same probes shown in a terminal frame when a claim's rule is evidence.

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": {
      "vm_name": "<vm_name>",
      "user": "<user>"
    },
    "name": "ssh_test_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesThe login user whose key-only SSH access the owner asked for.
api_keyNoOpenFactory MCP API key (registered callers).
vm_nameYesThe of-test-* session VM that booted your image: the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results.
session_tokenNoGuest session token from a previous response (anonymous callers).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it calls this 'the one sanctioned change to a session VM', describes generating an ed25519 key in the VM's tmpfs, authorizing it for `user`, probing key/password/root login over loopback, and reading effective sshd settings. It also notes the key never enters the image. It doesn't say what happens on partial probe failure or whether the authorized key is cleaned up, which keeps it from a 5.

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?

The purpose is front-loaded, which helps, but the middle of the description is heavy with incident narrative ('headless-pentest-debian (ae4fb901, 2026-10-20) parked for it with 41 of 45 checks passing') and procedural recording instructions that dilute the core call guidance.

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?

An output schema exists so return values needn't be explained, and the description covers prerequisites, side effects, and post-call behavior (recording facts in a verification step). Remaining gaps are minor — failure handling and cleanup semantics.

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 100%, so the schema already documents vm_name, user, api_key and session_token thoroughly. The description adds little parameter-level detail beyond the notion of a session-scoped identity and the `user` whose key access is being proven — baseline 3 applies.

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 opening sentence gives a specific verb and resource: 'Prove key-only SSH login on a session VM with a session-scoped identity the platform provisions.' It's unambiguous what the tool accomplishes and it doesn't overlap with the test-run/evidence siblings, though it never explicitly names an alternative tool.

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?

It states the triggering condition clearly — the owner's requirement is sshd's policy, and verification cannot wait for the owner's own key (citing the parked pentest run). It stops short of explicit when-not-to-use guidance or naming a sibling to prefer in any scenario.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.