Skip to main content
Glama

get_monitor_messages

Retrieve and filter chat message history by flow, session, sender, or name. Supports custom ordering for debugging, analysis, and monitoring user interactions.

Instructions

Query chat/message history with flexible filtering options. Retrieve messages filtered by flow ID, session, sender, or sender name. Supports custom ordering for chronological or reverse-chronological message retrieval. Essential for debugging chat flows, analyzing conversation patterns, and monitoring user interactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
senderNoOptional sender identifier to filter messages
flow_idNoOptional flow ID (UUID) to filter messages by flow
order_byNoOptional field to order results by (default: timestamp)
session_idNoOptional session ID to filter messages by session
sender_nameNoOptional sender name to filter messages
Behavior3/5

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

With no annotations, the description must disclose behavior. It mentions filtering and custom ordering, but does not specify if the operation is read-only, rate limits, authentication needs, or what happens with no filters (e.g., returns all). Partial but not comprehensive.

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?

Three sentences, front-loaded with core action and purpose. Each sentence adds value. No unnecessary repetition, but could be slightly more streamlined.

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?

The description explains filtering and ordering, but lacks information on return structure, pagination, or limits. For a query tool without output schema, this is a gap. It is adequate 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 coverage is 100% with individual parameter descriptions. The description adds context about flexible filtering and custom ordering, but does not specify valid values for order_by. Since the schema already carries the burden, the description adds minimal extra value.

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 clearly states it queries chat/message history with filtering. It distinguishes from siblings by emphasizing flexible filtering and custom ordering, but does not explicitly compare to similar monitor tools like get_monitor_sessions.

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

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance. Alternatives like get_monitor_session_messages are not mentioned. The description only says it's 'essential for debugging' but lacks context on when to prefer this over sibling tools.

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/nobrainer-tech/langflow-mcp'

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