Skip to main content
Glama

Summarize how calls went

anam_session_insights
Read-onlyIdempotent

How calls went and what stands out (findings): start here to judge one call or a period. With sessionId: reply speed, interruptions, slowest turns, failed tool calls, errors and the first and last messages. Without: one roll-up of the sessions in the range, or of one persona’s with personaId (last 24 hours by default; analytics cover at most 31 days): the session count, durations and exit statuses of the newest sessions read, latency and failure rates. To compare personas, call it once per persona. CLOSED_BY_ENGINE includes a normal end of call by the user or app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "anam_session_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoRoll up sessions before this.
fromNoRoll up sessions from this ISO 8601 date-time, such as 2026-11-01T00:00:00Z.
personaIdNoRoll up this persona only.
sessionIdNoOne session to look at.

Output Schema

NameRequiredDescriptionDefault
noteNo
sessionNo
findingsYes
sessionsNo
analyticsNo
transcriptNo
resultTrimmedNo
failedToolCallsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description's job is operational context, and it delivers: last 24 hours by default, a hard 31-day analytics window, and the meaning of `CLOSED_BY_ENGINE`. It enumerates the metrics surfaced in each mode (latency, failure rates, exit statuses, first/last messages). It does not discuss pagination or result-size limits, which is a minor gap for a roll-up query.

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?

It is a single dense paragraph front-loaded with the mode split, and every clause carries information (defaults, limits, persona comparison, exit status). The opening nominal clause and the parenthetical `findings` make the first sentence harder to parse than necessary, but there is no filler.

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?

With an output schema present, the description need not explain return shapes, and it still sketches what each mode reports. Defaults, the 31-day ceiling, persona comparison strategy, and exit-status semantics are all covered. What remains thin is how `findings` are derived or ranked, which matters for a tool whose name advertises insights.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description earns more by explaining that `sessionId` changes the tool's mode entirely rather than merely narrowing it, and that `from`/`to` default to 24 hours with a 31-day cap. The terse schema descriptions ('Roll up sessions before this.') do not convey this, so the prose adds real meaning.

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 names a specific resource (call/session outcomes and `findings`) and clearly splits the tool into two modes: single-session with `sessionId` and period roll-up without it. It does not name a sibling directly, but 'start here to judge one call or a period' implicitly positions it relative to `anam_session_get` and `anam_session_stats`. The opening phrase 'How calls went' is a noun clause rather than a crisp verb, which slightly blunts the statement of purpose.

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?

It gives concrete usage routing: use it 'to judge one call or a period', pass `sessionId` for one call, omit it for a roll-up, add `personaId` for one persona, and 'call it once per persona' to compare. That is actionable when-to-use guidance. It stops short of naming alternatives or stating when not to use it (e.g. versus `anam_session_analytics_get`).

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.

Resources