Skip to main content
Glama
washyu
by washyu

discover_and_map

Idempotent

Discover devices on your network via SSH and automatically store them in the site map database to track infrastructure and enable drift detection.

Instructions

Discover a device via SSH and store it in the network site map database. Recommended follow-up: 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.
key_pathNoPath to SSH private key
portNoSSH port (default: 22)
Behavior4/5

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

Annotations already indicate idempotent and non-destructive behavior. The description adds that the tool stores the device in a database (write operation) and suggests a follow-up, providing context beyond annotations. No contradictions.

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, front-loaded sentences: one for purpose, one for recommended follow-up. Every word is necessary and no redundancy.

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?

No output schema exists, and the description does not mention return values or potential side-effects. However, for a simple store operation with well-documented parameters and annotations, the description is mostly complete. Minor gap on return expectations.

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?

The input schema already describes all 4 parameters with 100% coverage (e.g., 'Hostname or IP address', 'SSH username', etc.). The description adds no additional parameter meaning, so baseline 3 is appropriate.

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 uses a specific verb-resource pair ('discover a device via SSH and store it in the network site map database'), clearly distinguishing it from bulk variants or pure discovery tools like 'ssh_discover'.

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?

The description implies usage for single device discovery+storage but does not explicitly state when to use this tool versus alternatives like 'bulk_discover_and_map' or 'ssh_discover'. The follow-up recommendation is helpful but not a usage guideline.

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