Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowState Hosted. If you published it, claim ownership there.

manage_sessions

Destructive

Inspects FlowState's sessions. They open and close by themselves (closed after 2 hours idle or when the app quits, with a summary queued for review). current, list, conversations: read. start: returns the automatic session. end: close one with a summary (not undoable). Decisions are recorded separately. Returns session or conversation rows.

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": {
      "action": "<action>"
    },
    "name": "manage_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNolist / conversations: max rows. Default 20.
modelNoModel name if known. Unknown names are omitted.
actionYesThe operation; see the tool description.
projectNoProject name or id. Required except for current.
summaryNoend: what was accomplished.
outcomesNoend: short outcome lines.
session_idNoend: the session's id (required). conversations: only this session.
focus_problem_idNostart: problem in focus (ignored if a session is open).
focus_component_idNostart: component in focus (ignored if a session is open).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Model name if known. Never guess."New value: +"Model name if known. Unknown names are omitted."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, it discloses lifecycle behavior (auto-close after 2 hours idle or on app quit, summary queued for review) and explicitly flags that 'end' is not undoable, which corroborates destructiveHint=true. It does not cover permissions, what happens on a redundant end, or whether start is a no-op when a session exists. No contradiction with the supplied annotations.

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?

Dense and front-loaded: the resource, lifecycle caveat, per-action semantics, and return shape all appear in a few telegraphic sentences with no filler. The 'current, list, conversations: read' fragment style is efficient but slightly cryptic on first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, 5-action tool with no output schema, the description covers the action semantics and lifecycle well but leaves gaps: no indication of what 'end' returns or errors on, no mention of pagination for 'list'/'conversations', and no clarification of when project is required relative to 'current'. It is adequate to call correctly but not fully complete.

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 the schema already defines every parameter including the per-action scoping of limit, session_id, project, and the focus ids. The description adds only modest meaning — 'start: returns the automatic session' hints that focus fields may be ignored, and 'end: close one with a summary' implies summary relevance. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

The description names the resource (FlowState's sessions) and then enumerates each action verb with its effect ('current, list, conversations: read', 'start: returns the automatic session', 'end: close one with a summary'). The read-vs-start-vs-end split is legible without opening the schema. It stops short of naming a specific sibling for the 'decisions are recorded separately' note, so differentiation from other manage_* tools is only partial.

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?

The per-action breakdown effectively routes the agent: reads for inspection, 'start' to obtain the automatic session, 'end' to close with a summary. The line 'They open and close by themselves (closed after 2 hours idle...)' usefully signals that explicit start/end is often unnecessary. No explicit exclusions or error conditions (e.g., what 'end' does when no session is open) are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources