Skip to main content
Glama

get_messages

Retrieve messages from other agents, with optional filters for project and unread status.

Instructions

Get messages for an agent.

Retrieve messages sent to you by other agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum messages to return
agent_idYesYour agent_id
project_idNoProject ID (or use project_name/workspace_path)
unread_onlyNoOnly get unread messages
project_nameNoProject name to look up
workspace_pathNoWorkspace path to look up
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It mentions the scope (messages from other agents) but does not disclose whether the tool marks messages as read, ordering, pagination, or any side effects. The description does not even explicitly state it is a read-only operation.

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 exceptionally concise, consisting of two short sentences. It front-loads the core purpose immediately and contains no filler or redundancy.

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

Completeness2/5

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

The tool has six parameters and no output schema, yet the description gives almost no context about return format, filtering behaviors, or default semantics. It does not explain what fields are returned, how messages are ordered, or how 'limit' and 'unread_only' interact. The description is too sparse for an effective agent invocation.

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?

Input schema covers 100% of parameters, so baseline is 3. The description adds no additional meaning to parameters; it only restates the concept of 'messages sent to you' which aligns with 'agent_id'. No parameter-specific insights are provided.

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's purpose: retrieving messages sent to you by other agents. It uses a specific verb ('Get'/'Retrieve') and resource ('messages'), and distinguishes itself from sibling tools like 'get_sent_messages' by specifying the direction (incoming).

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 guidance is provided on when to use this tool versus alternatives, or when not to use it. Sibling tools like 'send_message', 'get_sent_messages', and 'mark_message_read' exist but are not referenced. The context of use is implied but not explicit.

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/siddiquesahabaj/CoordMCP'

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