Skip to main content
Glama

Funkel AI

get_conversation_context

Read-onlyIdempotent

Return bounded conversation context for one lead or conversation in the request scope: lead profile, product/campaign context, last real messages, recent notes, open reminders, and Reply Assistant follow-up suggestions. Use this before meeting prep, reply planning, or questions about what happened with a lead. Read-only; does not draft or send messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of recent messages to return (default 12, max 20)
lead_idNoLead id from find_leads/get_lead or a follow-up result (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
conversation_idNoConversation id from inbox/follow-up context (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description still adds value by scoping the return as 'bounded' and enumerating its contents, and by restating that no messages are drafted or sent. It stops short of describing pagination or how 'bounded' is enforced relative to the limit parameter.

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 sentences, both dense and front-loaded: the return contents first, then the usage guidance and the read-only caveat. The enumeration is long but every element earns its place by telling the agent what it will receive.

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 no output schema, the description carries the burden of explaining return contents and does so thoroughly. The only gap is that neither lead_id nor conversation_id is required, yet the description doesn't state that at least one identifier must be supplied.

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% with explicit UUID formats and the limit default/max documented in-schema, so the baseline is 3. The description only echoes 'bounded' context without adding syntax or selection semantics (e.g., lead_id vs conversation_id precedence).

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 ('Return bounded conversation context for one lead or conversation') and enumerates the payload: lead profile, product/campaign context, messages, notes, reminders, follow-up suggestions. This delineates it clearly from profile-only siblings like get_lead and from get_product_context.

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 explicit when-to-use triggers ('before meeting prep, reply planning, or questions about what happened with a lead') plus an implicit when-not by noting it 'does not draft or send messages', routing authors to prepare/send_conversation_reply instead. Nothing is left to inference.

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