Skip to main content
Glama

record_conversation

Record user and AI conversation turns with role, content, and optional project labels to build persistent memory and context across AI coding sessions.

Instructions

记录用户与 AI 的对话内容

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": {
      "role": "<role>",
      "content": "<content>"
    },
    "name": "record_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes对话角色
contentYes对话内容
projectNo项目名称(可选)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only restates that content is recorded. It says nothing about persistence scope, whether duplicate turns are deduplicated, whether the optional project scopes storage, or what the call returns on success or failure. For a write/mutation tool with zero annotation coverage this is a substantial gap.

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 purpose front-loaded. It is efficient, though its brevity edges toward under-specification rather than true economy.

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?

The tool is simple (3 params, fully documented, one enum, no output schema), and the description conveys the core action adequately. However, it omits the storage/persistence context and the meaning of the optional project parameter, leaving the agent without enough to call it confidently in a memory-oriented toolset.

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% and the role parameter even carries an enum, so all three parameters are already documented in structured data. The description adds no meaning beyond the schema — nothing about what 'project' scopes or how role affects storage — so the baseline of 3 applies.

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 pairs a specific verb (记录/record) with a specific resource (用户与 AI 的对话内容), so the agent knows it persists one conversation turn. It does not differentiate itself from the sibling batch_record_conversations or explain that this is the single-item variant, so an agent must infer the distinction from names alone.

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?

There is no when-to-use guidance, no when-not-to-use, and no named alternative. The existence of batch_record_conversations and get_recent_conversations makes routing ambiguous, and the description gives no rule for choosing between single and batch recording.

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