Skip to main content
Glama

Read an agent inbox or the event log

hub_read

Read messages waiting in an agent app's inbox (marks them read unless peek is true), or the recent event log of the whole workspace for debugging. Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
appNoAgent app to read. Omit to read the workspace event log
peekNo
limitNo
workspaceNoWorkspace name. Leave as main unless you run severalmain
include_readNo

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?

With no annotations, the description carries the full burden and does disclose the key side effect (messages are marked read unless peek=true) plus a cost of 1 credit per call. It omits other behavioral facts an agent would want, such as whether the read is idempotent or how results are ordered/paginated.

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?

Two tight sentences, front-loaded with the primary inbox action, then the debugging mode, then the cost. Nothing is wasted or repeated from the schema.

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?

For a 5-parameter read with no output schema and no annotations, the description covers both operating modes, the mutation side effect, and cost. It stops short of explaining include_read and limit boundaries, which nothing else documents either.

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 only 40%. The description compensates for 'peek' by explaining it suppresses the mark-as-read side effect, but 'limit' and 'include_read' are undocumented in both the schema and the description, leaving meaningful gaps.

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?

Names the specific resource and the two distinct modes in one breath: reading an agent app's inbox, or the workspace event log. It also states the condition that switches modes (omit 'app'), which is exactly what distinguishes this tool from hub_send, hub_state, and get_audit_log.

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 clear context for each mode: inbox reading for messages, event log 'for debugging'. It does not explicitly exclude or name alternatives like get_audit_log or hub_state, so an agent must infer routing from names alone.

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.