Skip to main content
Glama

reflect_and_save

Save root cause, lesson, and solution from reflecting on an observation to consolidate reusable skills for future tasks.

Instructions

保存对某条观察记录的反思分析结果(根因、教训、方案)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
lessonYes学到的核心教训
obs_idYes
categoryYes错误类别
solutionYes推荐的解决方案
root_causeYes根本原因描述
generalizableNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states 'save,' implying a write operation, but does not mention whether it overwrites existing reflections, what happens if the observation does not exist, or any side effects. No return format is described. This is inadequate for a mutation tool.

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?

The description is a single, concise sentence with no unnecessary words. It front-loads the core intent. However, it could benefit from a brief structure (e.g., separating the purpose from parameter hints), but it remains appropriately sized.

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?

Given the tool has 7 parameters, no output schema, and no annotations, the description is insufficient. It does not explain the relationship to the observation lifecycle, required inputs beyond the listed fields, or success/failure behavior. An agent would struggle to correctly invoke this tool without additional context.

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

Parameters2/5

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

Schema description coverage is 57%, meaning some parameters (tags, generalizable, obs_id) lack schema descriptions. The tool description only mentions root cause, lesson, and solution, and does not elaborate on the others or explain their role in the overall reflection process. It adds minimal value beyond the schema and fails to compensate for the coverage gap.

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 clearly states the tool saves reflection analysis (root cause, lesson, solution) for an observation record. It uses a specific verb ('save') and resource, and implicitly distinguishes itself from siblings like record_observation (which captures the observation itself) and get_reflection_prompt (which fetches prompts). However, it does not explicitly differentiate from other save-type tools, so a 4 is appropriate.

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?

No guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites (e.g., an existing observation) or exclusions, leaving the agent to infer the appropriate context from the name and schema. This is a clear gap.

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/top777/memory-engine'

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