Skip to main content
Glama

Summarize conversation

summarize_conversation
Idempotent

Get or generate a summary of a conversation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_countNoNumber of messages to use for summary generation (default 50, max 500)
target_sessionNoSession ID to target a specific WhatsApp account
conversation_idYesThe conversation ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoThe JSON-compatible result returned by the Kaption extension

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations supply the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the agent knows calling it may have side effects but is repeatable. The description's 'get or generate' is broadly consistent with a non-read-only tool, but it never clarifies whether a summary is persisted, how costly generation is, or when generation is triggered.

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?

A single short sentence with no filler and the action is front-loaded. It is efficiently sized, though its brevity comes partly from underspecification rather than tight editing.

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?

An output schema exists, so return values need not be explained. However, the central ambiguity of get-vs-generate and the side effects implied by readOnlyHint=false remain unaddressed, leaving the description only minimally adequate for this tool.

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%, including the default/max for message_count and the purpose of target_session, so the schema already carries parameter meaning. The description adds nothing beyond that, which is the baseline 3 when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb and resource (summarize/get a summary of a conversation), but the dual 'get or generate' phrasing is vague about what actually happens on a call. No differentiation from siblings like query or manage_chat is offered, so an agent can't tell when this is the right tool.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. The description gives no signal about whether this is for fetching an existing summary versus triggering generation, which is exactly the decision an agent must make.

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