Skip to main content
Glama
aytzey

io.github.aytzey/showagent

resume_command

Read-only

Returns the exact shell command and directory to reopen a saved coding-agent session in its native CLI; it does not execute the command.

Instructions

Get the exact shell command (and the directory to run it from) that reopens a session in its own agent CLI. This tool only returns the command string; it never executes anything.

Input Schema

NameRequiredDescriptionDefault
idYessession id from list_sessions, or 'latest' for the most recent session

Output Schema

NameRequiredDescriptionDefault
idYes
cwdNodirectory to run the command from
fileNowhere the session is stored
noteNo
commandYesexact shell command that resumes the session; run it in a terminal, showagent never executes it
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Adds real value beyond the annotations: it reinforces the readOnlyHint by stating explicitly that the tool never executes the command, and discloses that a directory accompanies the command string. It does not explain the idempotentHint=false nuance (e.g. whether 'latest' resolution can change between calls).

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?

Two tight sentences, front-loaded with what the tool returns and immediately followed by the non-execution caveat. No wasted phrasing.

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?

An output schema exists, so return values needn't be spelled out, and the description still summarizes the payload (command + directory). Safety annotations are covered. Minor gap: no note on whether the returned command format varies by agent CLI.

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 coverage is 100% and the single 'id' parameter is fully documented in the schema, including the 'latest' convention. The description adds no parameter meaning beyond that, so baseline 3 applies.

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: 'Get the exact shell command (and the directory to run it from) that reopens a session'. The purpose is unambiguous and clearly distinct from get_transcript/list_sessions, though those siblings are never named as alternatives.

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?

Usage is implied (call this when you need to hand the user a resume command), but there is no explicit when-to-use/when-not guidance and no mention of the sibling tools as alternatives. The 'never executes anything' clause is behavioral rather than usage routing.

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

Deploy Server

Other Tools