Skip to main content
Glama
KevinBuettner

docent-terminal-mcp

regions

Read-only

List recent session commands and program inputs with status, exit code, line range, and file; find IDs for read/search, check running tasks, or review agent/human activity.

Instructions

List the most recent regions: each command or program input with its status (running, done, waiting at a question, ...), exit status, line range and file. The session's history at a glance: to find a region id for read/search, to check on a command left running without waiting for it, or to see what a human or another agent ran.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lastNohow many of the most recent regions to list
sessionYesthe session's name (from session_create or session_list)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

readOnlyHint=true already declares the safety profile, but the description adds what the listing surfaces (status values like running/done/waiting, exit status, line range, file) — useful behavioral context beyond the annotation. No pagination or ordering caveats beyond the implied 'most recent', which is minor.

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 sentences, front-loaded with the core action, followed by purpose-driven use cases. No filler; every clause conveys a distinct piece of information.

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?

An output schema exists, so return-value detail is not required, and the description still sketches the region fields well enough for selection. Combined with the safety annotation and full schema coverage, nothing an agent needs to invoke it correctly is missing.

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%, so both parameters (last, session) are already documented in the schema. The description implies recency and session scoping but adds no format or edge-case detail beyond that. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

States a specific verb (List) and resource (regions), then defines exactly what a region is: command/program input with status, exit status, line range, and file. This gives an agent a clear mental model distinct from the session/command siblings.

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

Usage Guidelines5/5

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

Explicitly enumerates three concrete when-to-use scenarios: finding a region id for read/search, checking on a running command without waiting, and seeing what a human or another agent ran. This routes the agent to correct usage rather than leaving it to infer.

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