Skip to main content
Glama

Read your chat history with a host

read_chat_history

Retrieve recent messages exchanged with a specified host, oldest first, to recover a reply that was still generating after chat_with_host returned. Use host_id from list_hosts.

Instructions

Read the recent messages between you and one of your hosts, oldest first. Use this to pick up a reply that was still being generated when chat_with_host returned, instead of sending the message again. Get host_id from list_hosts.

Input Schema

NameRequiredDescriptionDefault
host_idYesThe host's positive integer id (from list_hosts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose ordering (oldest first) and the practical scenario of partially-generated replies. However, it never states how many messages 'recent' covers, whether pagination or truncation applies, or what happens if no messages exist — meaningful gaps for a read tool with zero annotation coverage.

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: the first front-loads what is returned and in what order, the second front-loads the use case. Nothing is redundant or padded.

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?

There is no output schema and no annotations, so the description must cover the return shape, and it only partially does — ordering is given but message count, fields per message, and empty-result behavior are unspecified. Adequate to call the tool, but not fully complete for a read tool of this kind.

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% and the single host_id parameter is fully described in the schema, including its source. The description's mention of list_hosts repeats what the schema already says, adding no new semantics. Baseline 3 for one fully-documented parameter.

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 ('Read the recent messages between you and one of your hosts') plus the ordering ('oldest first'), which no sibling does. It is clearly distinguishable from chat_with_host, which sends rather than reads.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('pick up a reply that was still being generated when chat_with_host returned') and an explicit alternative action to avoid ('instead of sending the message again'). It also routes the agent to list_hosts for the required id, so both the when and the where-to-get-inputs are covered.

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