Skip to main content
Glama

memorize_asset

Idempotent

Store retrievable assets like bug fixes, patterns, and components into a shared memory. Use structured content for bug fixes with root cause and fix details.

Instructions

沉淀可检索资产到共享记忆库。Bug 修复后必须 type=bugfix,content 含【现象】【根因】【修复】【验证】。跨仓库共享时勿填 source_project/source_path,路径写入 content 即可。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes资产名称
tagsNo标签列表,如 bugfix, root-cause
typeNo资产类型:bugfix / pattern / component / code 等
usageNo适用场景/使用方式
contentNo完整内容(bugfix 建议结构化四段)
summaryYes检索用一句话摘要(关键词 + 根因/要点)
file_pathNo已废弃:勿用于跨仓库沉淀,路径写入 content
confidenceNo置信度,0-1
descriptionYes资产描述
source_pathNo已废弃:仅同仓库追溯时可选
code_snippetNo代码片段,content 的别名
source_projectNo已废弃:仅同仓库追溯时可选
Behavior4/5

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

Description adds behavioral context beyond annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true). It specifies content formatting rules and deprecation of certain fields, but does not elaborate on behavior on duplicates or success indicators.

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?

Two sentences: first defines core purpose, second gives critical usage instructions. No redundant words; every sentence earns its place.

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?

Covers key aspects: purpose, bug fix conventions, cross-repo handling. With 12 parameters (3 required), schema covers the rest. Lacks return value info but no output schema expected. Fairly complete for a storage tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% parameter description coverage, baseline 3. Description adds value by specifying type='bugfix' for bug fixes, structured content requirements, and deprecation of source_project/source_path, going beyond the schema.

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?

Description clearly states the tool stores retrievable assets into a shared memory bank, with specific verb '沉淀' (precipitate) and resource '资产' (assets). It distinguishes from sibling tools like delete_memory_asset, read_memory_asset, and update_memory_asset.

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 explicit guidelines for bug fix assets (type=bugfix, structured content) and cross-repo sharing (omit source_project/source_path, include path in content). Lacks explicit when-not-to-use vs alternatives, but the context is clear.

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/mybolide/mcp-probe-kit'

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