Skip to main content
Glama

log_chat

Record full user-assistant conversations to preserve context and enable task management. Store dialogue history with metadata for retrieval and continuity.

Instructions

记录完整的用户-助手对话内容

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metadataNo元数据信息
user_inputYes用户输入
conversation_idNo会话ID
assistant_responseYes助手回复

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description alone must disclose side effects and behavior. It only states that the tool records the full conversation, without mentioning storage, persistence, whether it appends or overwrites, required permissions, or what happens on success.

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?

The description is a single short sentence with no filler or repetition. It front-loads the core purpose immediately.

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 tool with four parameters, a nested metadata object, no output schema, and no annotations, the description is too minimal. It omits usage context, behavioral side effects, and any differentiation from the log_conversation sibling.

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%, so the schema already documents all four parameters. The description adds no parameter-level meaning beyond the schema; it only implies that both user_input and assistant_response are part of the complete conversation.

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 uses a specific verb (记录/record) and resource (用户-助手对话内容) and adds 'complete' scope. However, it does not distinguish this tool from the sibling log_conversation, which appears to serve the same function by name.

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 guidance about when to use log_chat versus alternatives such as log_input, log_conversation, or get_history. No exclusions or selection criteria are given, leaving the choice between siblings ambiguous.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fangxh2013/trae-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server