Skip to main content
Glama

Flowlines - MCP Analytics

Get session turn

get_turn
Read-onlyIdempotent

Get the exact content for one turn in a Flowlines session. Use get_session to find its turn tree, then pass the selected turn's turnIndex unchanged; indexes are zero-based. Results may contain end-user personal data: quote minimally and mask direct identifiers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesZero-based turnIndex from a node in get_session.turns. Use turnIndex, not the one-based turnNumber, and do not count displayed rows.
reasonYesA short phrase saying why you are calling this tool, for example: find unpaid invoices.
session_idYessessionId returned by list_sessions or get_session. Use the same namespace as that session.
user_intentYesOne sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes.
namespace_idYesFlowlines namespace UUID.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
noticeNo
truncationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this as read-only, idempotent and non-destructive, so safety is covered. The description adds genuinely new behavioral context — that results may contain end-user personal data and should be quoted minimally with direct identifiers masked, plus that indexes must be passed unchanged. It does not cover error behavior for invalid indexes.

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?

Three sentences, front-loaded with the purpose, then the retrieval workflow, then the data-handling caveat. Every sentence carries information and none repeats the schema verbatim.

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?

With an output schema present, return-value detail is unnecessary, and annotations plus full schema coverage carry the rest. The description adequately covers prerequisite, index semantics and privacy handling, though it is silent on failure modes such as an index that no longer exists.

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%, and the schema already documents index as a zero-based turnIndex (explicitly warning against turnNumber or displayed rows) and documents the reason/user_intent/session_id/namespace_id fields. The description's 'indexes are zero-based' and 'pass turnIndex unchanged' largely restate the schema, so the baseline of 3 applies.

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 and resource ('Get the exact content for one turn') and scopes it to a Flowlines session, which cleanly distinguishes it from the sibling get_session that returns the turn tree. An agent can tell the two apart without opening either schema.

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?

Gives an explicit two-step workflow: call get_session first to find the turn tree, then pass the selected turnIndex unchanged. That names the alternative and the condition that selects it, but there is no guidance on when not to use it or what to do if the index is stale or out of range.

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