Skip to main content
Glama

continue_command

Returns the shell command to resume a session in a terminal without running it; flags sessions owned by a live process that must be stopped first.

Instructions

Return the shell command that continues this session in a terminal. The command is not run. warning is set when a live process owns the session; stop that process first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sessionId": "<sessionId>"
    },
    "name": "continue_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses the key non-side-effect ('The command is not run') and the warning-field condition tied to a live process owning the session. It does not cover permissions/auth requirements, the shape of the returned command, or what fields other than 'warning' come back.

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, front-loaded with the purpose followed by the non-execution caveat and warning condition. Every sentence carries information; no filler.

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?

A simple single-parameter read tool with no output schema and no nested objects. The description covers what it returns, that nothing executes, and the live-process warning scenario, which is enough for an agent to call it correctly; only minor sessionId formatting detail is absent.

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?

One required parameter (sessionId) with 0% schema description coverage. The description's 'this session' frames sessionId as the target session to continue, adding modest meaning, but it does not state whether the ID is a raw identifier, whether names are accepted, or expected format.

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 and resource: 'Return the shell command that continues this session in a terminal,' with the immediate clarification that the command is not executed. This is distinct from siblings like get_session or list_sessions, though it does not name an alternative to differentiate against explicitly.

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

Usage Guidelines3/5

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

The description implies its use case (getting a command to resume a session elsewhere) and gives one prerequisite ('stop that process first' when a live process owns the session). It offers no explicit when-to-use versus when-not-to-use guidance or named alternatives.

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