Skip to main content
Glama
pc439527

jumpserver-mcp

by pc439527

jumpserver_close

Idempotent

Terminate a JumpServer session to release PTY, SSH channel, buffers, and timers, returning the connector to DISCONNECTED. Use to end audited SSH/PTY sessions.

Instructions

Close the JumpServer session: PTY, SSH channel, buffers and timers are released and the connector returns to the DISCONNECTED state.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.13

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so safety is partly covered. The description still adds real value by naming the released resources and the resulting DISCONNECTED state, giving the agent a clear post-condition beyond the 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?

A single front-loaded sentence with the verb and the cleanup effects stated immediately. No filler or 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?

For a no-arg lifecycle tool with no output schema, the description covers the action and its resulting state, which is what an agent needs. It omits edge-case behavior (what happens when no session is active) and any auth/permission requirement, leaving a small gap.

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?

Zero parameters, so there is no parameter semantics to convey; the schema is trivially complete at 100% coverage. Baseline of 4 applies for a parameterless tool.

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?

States a specific verb (close) and resource (JumpServer session) and enumerates exactly what is torn down (PTY, SSH channel, buffers, timers). It does not, however, distinguish itself from sibling lifecycle tools such as jumpserver_leave or jumpserver_interrupt, whose boundaries with 'close' are left for the agent to infer.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. must a session be active first?), and no routing to alternatives like jumpserver_leave or jumpserver_interrupt. The agent must guess which teardown tool applies.

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