Skip to main content
Glama
pc439527

jumpserver-mcp

by pc439527

jumpserver_inspect

Read-only

Collect structured, read-only host inventory from one or more servers, returning parsed facts on OS, network, processes, services, disks, and containers instead of raw shell text.

Instructions

Collect a STRUCTURED host inventory from one or more servers using FIXED read-only probes (the connector decides the commands — do not invent shell). Returns parsed facts (OS, kernel, uptime, load, memory, disks, IPs, listening ports, connections, processes, services, nginx upstreams, java, docker, roles) instead of raw shell text. Use this rather than a pile of jumpserver_exec calls. Profiles: basic / network / process / service / web / java / database / container / full.

Input Schema

NameRequiredDescriptionDefault
groupNoInstead of targets: a configured asset group whose assets are all inspected.
formatNotext (default, compact) or json (full structured inventory).
profileNoProbe profile(s), default "basic". "full" runs every profile.
targetsYesTarget IPs or asset names (max 20).
concurrencyNoTargets surveyed at once (default: batchConcurrency setting).
accountByTargetNo{ [target]: displayedAccountId } for multi-user assets (KoKo `ID>` prompt).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.13

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses that probes are fixed and connector-chosen, that output is parsed facts rather than raw shell, and what categories of facts come back. This is rich behavioral context an agent needs to trust and interpret the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then the return contents, then the reason to prefer it and the profile list. It is dense and largely earns its space, though the inline enumeration of return facts is long enough to slightly dilute focus.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by listing the returned facts, and it covers targets, groups, profiles, format, and safety. Nothing an agent needs to invoke it correctly is missing.

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 all six parameters, including the profile enum and defaults. The description repeats the profile list but adds no format, syntax, or interaction detail beyond what the schema provides, matching the baseline for full coverage.

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 (collect) and resource (structured host inventory) with a clear scope (one or more servers). It enumerates the exact facts returned and names the sibling it replaces (jumpserver_exec), so the agent can distinguish it without opening any schema.

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?

Explicitly routes the agent: 'Use this rather than a pile of jumpserver_exec calls' names the alternative and the condition. It also warns against inventing shell and points to profiles for scoping, leaving little to inference.

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