Skip to main content
Glama
shijieweb

memos-api-mcp

by shijieweb

add_message

Save AI conversation messages to MemOS memory for later retrieval, so user information and context persist across sessions. Automatically invoked after each assistant response to record new dialogue.

Instructions

每次回答后自动保存对话;用户要求记住新信息时调用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYes消息数组,含 role 与 content
conversation_first_messageYes用户在本会话的第一条消息,用于生成 conversation_id。
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool automatically saves the conversation after each response, which is a key behavioral trait. However, it doesn't disclose side effects such as whether it appends or overwrites, or any prerequisites, making it only moderately transparent.

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, concise sentence with two clauses that directly state the purpose and usage. It is front-loaded and every word adds value.

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

Completeness4/5

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

For a simple tool with two well-documented parameters and no output schema, the description provides adequate context about when to call it and its automatic behavior. It doesn't cover return values, but that's not necessary given the absence of an output schema.

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 covers 100% of the parameters, so the baseline is 3. The description doesn't add any parameter-specific meaning, but the schema already provides the necessary details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool saves the conversation and specifies the trigger (when user requests to remember new information). It uses a specific verb 'save' and resource 'conversation', distinguishing it from sibling memory tools like search_memory and delete_memory.

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

Usage Guidelines4/5

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

Provides clear when-to-use: after each response and when the user requests to remember new information. However, it doesn't explicitly mention when not to use it or name alternatives, though the context is sufficient.

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

Install Server

Other Tools

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/shijieweb/memos-mcp-custom-trae'

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