Skip to main content
Glama
washyu
by washyu

ssh_discover

Read-onlyIdempotent

SSH into a remote system to collect hardware and system information for inventory or monitoring purposes.

Instructions

SSH into a system and gather hardware/system information. If credentials were stored with credentials add, username and password are auto-injected from the keyring — omit them. If authentication fails with 'No credentials found', run homelab-mcp credentials add <hostname> <username> in the terminal or call list_keyring_credentials to see what is already stored. Recommended follow-up after onboarding: run the configure_host_fingerprint prompt to capture per-host capability signals for drift detection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnameYesHostname or IP address
usernameNoSSH username. Omit if credentials were stored with `credentials add` — they are auto-injected.
passwordNoSSH password. Omit if credentials were stored with `credentials add` — they are auto-injected.
key_pathNoPath to SSH private key
portNoSSH port (default: 22)
Behavior5/5

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

Annotations already indicate this is a read-only, idempotent, non-destructive operation. The description confirms this and adds transparency about credential auto-injection and authentication failure handling, which goes beyond annotations.

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?

The description is concise (4 sentences), front-loaded with purpose, and every sentence adds value. No redundant or unnecessary content.

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?

Although no output schema exists, the description explains the tool's purpose (gathering hardware/system info) and error recovery. It is sufficient for an information-gathering tool, though it could mention what specific info is gathered.

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

Parameters4/5

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

Schema covers all 5 parameters with descriptions (100% coverage). The description adds essential usage guidance for username and password (omit if stored), which is critical for correct invocation.

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?

The description clearly states the action (SSH into) and the resource (system, hardware/system information). It distinguishes from sibling tools like ssh_execute_command and start_interactive_shell by focusing on gathering information.

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

Usage Guidelines5/5

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

Provides explicit context on when to use (onboarding, after credentials stored), when to omit parameters, and error recovery steps (run credentials add or list_keyring_credentials). It also recommends a follow-up prompt for drift detection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/washyu/homelab_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server