Skip to main content
Glama

get_conversation_context

Retrieves recent conversation history and context to improve response relevance and understanding of ongoing discussions. Specify how many previous messages to include.

Instructions

Retrieves conversation history and context to help provide better responses. Improves understanding of ongoing discussion.

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": "get_conversation_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of previous messages to retrieve (default: 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description bears the full behavioral burden and largely fails it: it does not say whether history is read-only, which conversation scope is used, whether messages are ordered oldest-first, or how results are truncated when limit is hit. Only the vague promise of "improved understanding" is offered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with the action, which is good, but the second sentence ("Improves understanding of ongoing discussion") is restated intent that earns no place and displaces information the agent actually needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter retrieval tool with no annotations and no output schema, the description should explain what a returned record looks like and which conversation it covers. Neither is present, so an agent cannot predict the response shape before calling.

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 limit parameter is documented in the schema with its default of 10. The description adds nothing beyond it, so the baseline 3 applies rather than a penalty, but there is no compensating detail such as what counted as a "message" or how limit interacts with context window.

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 ("Retrieves conversation history and context"), so the general action is clear, but it never specifies whose conversation, which session, or in what order messages come back. It does nothing to distinguish itself from siblings such as get_user_info or read_file, and the trailing benefit clause adds no operative detail.

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?

"To help provide better responses" is a rationale, not a usage rule — there is no statement of when to call this, when not to, or what alternative exists for related lookups. The agent is left to infer the trigger condition entirely.

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