Skip to main content
Glama

save_conversation

Save IDE conversations to RefBase with automatic extraction of code blocks, tool outputs, and error solutions, preserving implementation details for future reference.

Instructions

Save current IDE conversation to RefBase knowledge base with automatic technical context extraction (code blocks, tool outputs, error resolution, implementation details)

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": {
      "title": "<title>",
      "messages": "<messages>"
    },
    "name": "save_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags to categorize the conversation (optional)
titleYesTitle or summary of the conversation
sourceNoSource type of the conversation (default: mcp for MCP-saved conversations)mcp
messagesYesArray of conversation messages
projectPathNoOptional path to the current project
sourceDetailsNoAdditional source details (for manual: claude-code, claude-web, chatgpt, custom, etc.)
workspaceRootNoOptional path to the workspace root
project_contextNoOptional project context information

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the derived-data behavior (extracting code blocks, tool outputs, error resolution, implementation details) beyond what 'save' implies, but says nothing about deduplication, what the return value is, or whether repeated saves create duplicate records — significant gaps for a write operation with zero annotation coverage.

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?

One front-loaded sentence with no filler; the purpose and the extraction behavior are stated immediately. Dense but every clause carries information, with only mild ambiguity from packing four extracted artifact types into parentheses.

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?

This is an 8-parameter mutation tool with a nested messages array, no annotations, and no output schema. The description omits what the agent most needs to know: whether saved conversations are deduplicated, what identifier or confirmation comes back, and whether optional path fields are inferred from the IDE. Against that complexity, one sentence is insufficient.

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 enum for source and nested message properties, so the schema already does the parameter work. The description adds no meaning to parameters such as source, sourceDetails, projectPath, or workspaceRoot — notably it does not say whether 'current' context is auto-populated versus requiring explicit passing.

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?

States a specific verb ('Save'), a specific resource ('current IDE conversation'), a destination ('RefBase knowledge base'), and adds the distinguishing behavior of automatic context extraction. It is clearly not the same as save_bug or save_feature, though it never names those siblings to make the distinction explicit.

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, when-not-to-use, or alternative guidance is given. An agent facing a debugging session must guess whether to call save_conversation, save_bug, or save_feature; 'current IDE conversation' hints at scope but supplies no routing rule or prerequisite.

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