Skip to main content
Glama

ts_sessions

Read-onlyIdempotent

Lists Turnstone agent sessions newest first with state and kind filters, showing IDs, titles, model, persona, context usage, and human-attention warnings for monitoring.

Instructions

List Turnstone sessions, newest first: short id, full id, title, kind, state, node, model, persona, child count, context % used and a warning sign when a session waits for a human. state: optional filter (e.g. running, thinking, idle, attention, closed, or "active" for all that are not closed). kind: optional filter (coordinator or interactive). limit: rows (max 100).

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": "ts_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
stateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real value on top: newest-first ordering, the exact columns returned, a hard cap of 100 rows, and the meaning of the warning marker for sessions awaiting a human. It stops short of describing pagination or default page size behavior.

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?

Front-loaded with the action and output shape, then the three parameters in order matching the schema. Dense but every clause carries information; the line wrapping is cosmetic noise rather than wasted content.

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 read-only list tool with no output schema, the description supplies the return shape, ordering, row cap, and filter vocabulary — enough for an agent to call it correctly. The absence of any note on default limit (30) or truncation behavior is the only material gap.

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?

Schema coverage is 0% and the schema carries no enums or descriptions, so the description fully compensates: state gets example values plus the special 'active' token, kind gets its two valid values (coordinator, interactive), and limit gets a max of 100. Only edge behavior (invalid values, filter interaction) is left undocumented.

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?

Opens with a specific verb+resource ('List Turnstone sessions, newest first') and enumerates exactly what each row contains, so the agent knows precisely what this returns. It does not explicitly contrast itself with the singular ts_session sibling, which keeps it just short of a 5.

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 conveyed only through the filter semantics (state, kind, limit), including the useful note that 'active' means all non-closed states. There is no explicit statement of when to prefer this over ts_session or ts_children, so the agent must infer the routing.

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