Skip to main content
Glama
mcp-interactive-terminal

mcp-interactive-terminal

by hugo94z

terminal_diagnostics

Reports server version, platform, threads, buffers, VT errors, policy, write latency, buffer offsets, reader errors, and active allowlist or cwd jail when a terminal session misbehaves.

Instructions

Report server diagnostics: version, platform, threads, buffers, VT errors and policy.

Useful when a session misbehaves: it shows write latency, buffer offsets, reader errors and whether an allowlist or cwd jail is active.

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": "terminal_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the full disclosure burden, and it does substantial work by listing the observable fields (write latency, buffer offsets, reader errors, allowlist/jail state). The word "Report" implies a non-mutating read, but it never states outright that the call has no side effects or what permissions it needs.

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?

Two tight sentences with the purpose front-loaded and the usage cue second. The two field lists partially overlap in intent (policy vs allowlist/jail), but the second list adds symptom-level detail rather than repeating the first verbatim.

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 zero-parameter, annotation-free, output-schema-free introspection tool, the description supplies enough about what comes back that an agent can decide to call it. The remaining gap is the absence of any explicit statement about safety or side effects, which matters more here because no annotations fill that role.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline applies. The description correctly frames the tool as taking no input by describing a pure introspection call.

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 description opens with a specific verb and resource ("Report server diagnostics") and enumerates the reported categories: version, platform, threads, buffers, VT errors and policy. This clearly separates it from the action-oriented siblings like terminal_exec or terminal_send, though it never names an alternative explicitly.

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

Usage Guidelines4/5

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

"Useful when a session misbehaves" gives a concrete triggering condition, and the follow-up sentence names the symptoms (write latency, reader errors, allowlist/cwd jail) that make it relevant. There are no explicit exclusions or named alternatives, so it stops short of a full routing statement.

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