Skip to main content
Glama
agent-intercom

agent-intercom

by ryul99

Conversation history

history

Retrieve both directions of the conversation between the current session and a counterpart local coding-agent session, ordered oldest to newest, to review prior messages.

Instructions

Show both directions of the conversation between this session and another session, sorted oldest to newest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "with": "<with>"
    },
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
withYesCounterpart session id, label, unique prefix, or unambiguous tool name.
limitNoMaximum messages to return (most recent). Defaults to 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 load; it does add real behavior beyond the schema by stating the result covers both directions of the exchange and is sorted oldest to newest. It omits other traits that matter for a read tool, such as whether fetching history affects read state (relevant given the mark_read sibling) or how truncation via limit interacts with the oldest-to-newest ordering.

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?

A single sentence with no filler, and the two facts an agent needs most, directionality and ordering, are stated up front.

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 two-parameter read tool with no output schema and no annotations, this covers purpose, direction, and ordering adequately. The main residual gap is that it does not describe the shape of a returned message or how other sessions are identified in the output, which matters slightly since no output schema exists.

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 description coverage is 100%, so both parameters are already documented, including the limit default and most-recent semantics. The description clarifies that the `with` target is the counterpart session and that both directions are included, which is modest added meaning rather than new parameter detail.

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 pairs a specific verb and resource ("Show ... the conversation") with a precise scope: both directions between this session and one counterpart, ordered oldest to newest. That scope implicitly separates it from listing tools like inbox, but it never names a sibling or explicitly contrasts behavior, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for reviewing prior exchanges with a specific counterpart rather than for a general message list. There is no explicit statement of when to prefer it over inbox or unread_count, and no note about prerequisites or what happens if the counterpart is ambiguous.

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