Skip to main content
Glama
mako10k
by mako10k

terminal_close

Terminate an active terminal session and end all running processes within it. Optionally save command history for future restoration.

Instructions

Close terminal session

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
terminal_idYesUnique terminal ID from terminal_create or terminal_list. All processes in this terminal will be terminated.
save_historyNoWhether to save the command history before closing. History can be restored when creating future terminals.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.8.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full responsibility for disclosing behavior. It only states 'Close terminal session' without mentioning that closing terminates all processes in the terminal, any side effects, or whether history saving is affected. Significant behavioral details are absent.

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?

The description is a single sentence with no wasted words, achieving high conciseness. It is appropriately front-loaded with the action, though it could benefit from a bit more context without becoming verbose.

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

Completeness2/5

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

For a tool that closes a terminal, the description is too sparse. It does not explain the outcome of closing (e.g., process termination, session cleanup) or what the agent can expect in response. Given no output schema, the description should clarify the result, but it remains minimal.

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% for both parameters (terminal_id and save_history), and each has a detailed description. The tool description adds no extra parameter information, but the schema already fully documents them, making the baseline of 3 appropriate.

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 'Close terminal session' clearly states a specific verb (close) and resource (terminal session), effectively distinguishing it from sibling tools like terminal_operate or terminal_list. It is concise but unambiguous about the action performed.

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?

No explicit guidance is provided on when to use this tool versus alternatives like terminal_operate or shell_execute. No prerequisites or conditions are mentioned, leaving the agent to infer usage from the name and description alone.

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

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/mako10k/mcp-shell-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server