Skip to main content
Glama

probe-host

Read-only

Check whether a host's management ports are reachable using inventory-managed credentials, so DBAs can confirm connectivity without sending passwords in requests.

Instructions

dbabrain common.cli probe-host: A host to probe for its management ports. server_id (or target) names the server; its connection or host login is completed from this node's inventory and encrypted secret store, so a request carries no password. Request fields (pass them as request):

  • target: A label for the answer - the server_id. Nothing is looked up by it: common.cli reads no configuration (rules R09).

  • host: The address to probe - required. The app that holds a server_id fills it, with the OS, from its own data/ (dbabrain.lib.data_sources.request_fill).

  • ports: Which ports.

  • timeout_seconds: How long to wait.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "probe-host"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, but the description adds genuinely new behavior: credentials and host login are resolved from this node's inventory and encrypted secret store, so no password is sent, and `target` is a pure label because "common.cli reads no configuration (rules R09)." It stops short of saying what a probe actually does (TCP connect? which default ports?) or how failures/timeouts are reported.

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 in the first line and the field list is scannable, but the text carries CLI-doc residue: backticks, an internal rule identifier (R09), and an internal module path (dbabrain.lib.data_sources.request_fill) that add noise rather than agent-relevant meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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, and the auth model is covered. Still, for a network-probing tool the description omits default port set, timeout units/defaults, and failure behavior, and its "server_id (or target)" / "host: required" wording does not line up with a schema that has one optional `request` property.

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 0% and the schema exposes only an opaque `request` object, so the description must carry the load, and it does enumerate the four fields (target, host, ports, timeout_seconds). However, the semantics are thin: `ports` is only "Which ports," `timeout_seconds` gives no units or default, and the "required" host field conflicts with a schema declaring zero required parameters.

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 line gives a concrete verb and resource: "A host to probe for its management ports." That is clear enough for an agent to distinguish it from siblings like host-facts or host-service, though the description never names those alternatives explicitly.

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?

Usage is only implied by the purpose statement (probe a known server_id for management-port reachability). There is no explicit when-to-use/when-not, and no routing among the many host-* siblings; the note that no password is needed is helpful setup context but not guidance.

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

Deploy Server

Other Tools