Skip to main content
Glama

batch_record_conversations

Record multiple user and assistant messages in one call, optionally tied to a project, to persist conversation history and provide context across sessions.

Instructions

批量记录多条对话内容(一次调用写入多条消息)

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

Input Schema

NameRequiredDescriptionDefault
projectNo项目名称(可选)
messagesYes对话消息数组

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/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. It does disclose that this is a bulk write happening within a single call, but says nothing about atomicity (whether a partially failing batch writes some messages), duplicate handling, whether project is created if missing, or what the call returns. For a mutation tool with zero annotation coverage this is a significant gap.

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?

A single short sentence plus a clarifying parenthetical, front-loaded with the write action and batching scope. No filler or redundant restatement of the title.

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?

For a simple two-parameter write tool with a fully documented schema this is the minimum viable definition. With no annotations and no output schema, the agent still lacks any clue about the response shape (e.g., count or ids of written messages) or error/partial-failure behavior.

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 both parameters are documented in the schema, so the schema does the heavy lifting. The description adds no extra meaning about the optional project scoping or the role/content pairing beyond what the schema already conveys; baseline 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 names a specific verb (批量记录 / write in bulk) and resource (对话内容 / messages), and the parenthetical '一次调用写入多条消息' clarifies that one call persists multiple messages, which implicitly distinguishes it from a single-message writer. It stops short of explicitly naming record_conversation as the single-message alternative, so an agent must infer the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The batching hint implies the usage condition (you have several messages to persist at once), which is enough to pick this over a one-at-a-time tool. However, it never states when not to use it, whether it can mix roles, or what happens if called with a single message.

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