Skip to main content
Glama
Node Terminal MCP

Node Terminal MCP

by henryzhz

terminal_list

List all active terminal sessions to see which are available before interacting with them. Manage multiple terminal contexts, each with its own state, working directory, and environment.

Instructions

List all currently active terminal sessions. Use this to check which terminal sessions are available before interacting with them, or to manage multiple terminal contexts. Each session maintains its own state, working directory, and environment.

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_list"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. "List" implies a safe read, and it adds useful context that each session maintains its own state, working directory, and environment. However, it never says what identifies a session in the response, which is the key information an agent needs to chain into terminal_read or terminal_write.

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?

Three short sentences, front-loaded with the purpose and followed by usage then supporting context. No filler or repetition, though the third sentence is the most expendable of the three.

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 parameterless, non-destructive listing tool with no output schema, the description covers purpose, when to call it, and the shape of what each session carries. The remaining gap is the identity/format of returned session handles, which matters for follow-on calls but is a modest omission at this complexity level.

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; the baseline for a parameterless tool applies. No parameter-related claims are made or needed.

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?

The description opens with a specific verb and resource: "List all currently active terminal sessions." It is clearly a read-only enumeration, distinct from the sibling operations terminal_create, terminal_close, terminal_write, and terminal_read, so an agent can select 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 Guidelines4/5

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

It states the use case explicitly: check which sessions are available before interacting with them, or manage multiple terminal contexts. That gives a clear precondition for calling it. It does not name alternatives or exclusions, but for a discovery tool the natural alternative (calling terminal_read on an unknown ID) is implicitly ruled out by the "before interacting with them" phrasing.

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