Skip to main content
Glama
RobHudson72

flightlog

by RobHudson72

flightlog_tail

Fetch the most recent messages from a Claude Code session to see current agent activity. Use this for quick monitoring without searching keywords.

Instructions

Get the last N messages from a Claude Code session, most recent first. Use this to check what an agent is currently doing without needing keywords. Much faster than flightlog_get_session for active sessions — returns only recent activity instead of the full transcript.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of messages to return (default 20)
block_typeNoFilter to a specific block type: text, thinking, tool_use, tool_result, or user_text
session_idYesSession UUID to tail (from flightlog_list_sessions results)
snippet_lengthNoMax characters per message snippet (default 500). Use 0 for no truncation.
include_tool_ioNoInclude tool_use inputs and tool_result outputs (default false — excluded to reduce noise)
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It mentions most-recent-first ordering and performance relative to get_session, but does not elaborate on pagination, truncation, or default parameter values (these are covered in the schema). Adequately transparent but could be richer.

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?

The description is two sentences with zero wasted words. Front-loaded with the core purpose, then usage guidance and comparative benefit. Extremely efficient.

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?

Given the tool has 5 parameters, no output schema, and no annotations, the description covers the core functionality, use case, and relative performance. It hints at active sessions but doesn't fully clarify all edge cases. Still, it provides a solid contextual understanding.

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%, so the baseline is 3. The description does not add significant meaning beyond the schema parameter descriptions; it only provides usage context. No extra semantic detail is given for parameters.

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?

The description clearly states the tool retrieves the last N messages from a Claude Code session, most recent first. It distinguishes itself from the sibling tool flightlog_get_session by focusing on recent activity rather than full transcript.

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 description explicitly advises using this tool to check what an agent is currently doing without needing keywords, and notes it's much faster than flightlog_get_session for active sessions. This provides clear context, though it does not explicitly state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RobHudson72/flightlog'

If you have feedback or need assistance with the MCP directory API, please join our Discord server