Skip to main content
Glama
Mnemosyne

Mnemosyne

by M4F-S

memory_save_playbook

Store or update a procedural skill playbook with preconditions, ordered tool sequences, and error-recovery steps so agents can reuse reliable execution guidance.

Instructions

Store or update a procedural skill playbook with preconditions, tool sequences, and error recovery.

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": {
      "skill_name": "<skill_name>",
      "domain": "<domain>",
      "description": "<description>"
    },
    "name": "memory_save_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesSkill domain (e.g. devops, pentest, data, coding)
skill_nameYesUnique identifier for the procedural skill
descriptionYesFunctional description of when and how to execute this skill
preconditionsNoRequired preconditions or environment state
tool_sequenceNoOrdered sequence of steps or tool invocations
error_recoveryNoFallback strategies or recovery policies

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.6

TDQS

B3.1/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. 'Store or update' is the only real disclosure and it implies overwrite semantics, but nothing says whether an update replaces the entire playbook or merges, what happens to omitted optional fields, whether the skill_name must already exist, or what is returned. For a write tool with nested objects this is a substantial gap.

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?

A single front-loaded sentence with no filler; the verb and resource come first and the qualifiers follow. It is efficient, though the brevity is part of why behavioral and usage guidance are thin.

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?

Placeholder.

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 all six parameters are already documented, and the description largely restates three of them (preconditions, tool sequences, error recovery). It adds no format details for the nested tool_sequence objects or the error_recovery shape beyond what the schema states, so the baseline of 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?

Specific verb phrase 'Store or update' plus a specific resource, 'procedural skill playbook', with the content types it carries (preconditions, tool sequences, error recovery) named. An agent can tell this persists reusable procedures rather than raw events or facts. It does not, however, distinguish itself from a generic memory-write sibling like memory_remember.

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?

The description implies the situation (you have a reusable procedure to persist) but never states when to choose this over memory_remember or memory_ingest_session, nor any exclusions. 'Store or update' hints at upsert behavior keyed on skill_name, but the trigger conditions and prerequisites are left to inference.

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