Skip to main content
Glama

muninn_session_save

Destructive

Save where this conversation stands, so a later conversation can pick it up. Call it when the user asks. kind 'checkpoint' is a mid-conversation save point ("save our place", "checkpoint", "remember where we are", or before a long session might drop). kind 'close' is the hand-off at the end ("we're done", "save the session", "carry this to the next chat"). DATA STORED: this writes a summary of the current conversation into the user's Muninn account, where they can view and delete it at https://munn.is/app. Write the fields yourself, specific enough that someone reading only this note could re-enter cold. A checkpoint REPLACES the previous checkpoint for the same scope (one per project, one global); a close adds a session note and deletes nothing. muninn_session_boot returns the latest checkpoint as carryover and recent session notes as sessionState. Pass project when the user's project instruction declares "MUNINN project: ". Tell the user in one line what you saved.

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": {
      "kind": "<kind>"
    },
    "name": "muninn_session_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes'checkpoint' = mid-conversation save point, replaces this scope's previous checkpoint. 'close' = end-of-conversation hand-off, adds a session note.
contextNocheckpoint: what this conversation has been about, enough to re-enter cold. Required for a checkpoint.
projectNoProject slug from the project instruction's 'MUNINN project: <slug>' line. Omit for a global save.
dontLoseNocheckpoint: the single most important thing to carry forward. Required for a checkpoint.
workedOnNoclose: what was discussed or built, specific enough to re-enter. Required for a close.
decisionsNoclose: specific decisions made, not vague summaries.
keyMomentNocheckpoint: what prompted this save.
inProgressNocheckpoint: what was being worked on.
pickUpNextNoclose: the ONE most important thing to continue next time. Required for a close.
openThreadsNoclose: things started but not resolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: it discloses where the data lands (the user's Muninn account), that the user can view and delete it at a specific URL, and the exact destruction semantics — a checkpoint REPLACES the prior checkpoint per scope while a close deletes nothing. It also sets an interaction obligation ('Tell the user in one line what you saved') that no annotation conveys.

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?

Front-loaded with the core action, then routed by mode, then a clearly labeled 'DATA STORED:' block for side effects, then retrieval/parameter notes. It is dense for its length but every sentence carries a decision the agent must make — no restatement of the name or generic filler.

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

Completeness5/5

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

For a 10-parameter, two-mode mutation tool with no output schema, the definition covers triggers, side effects, destruction/replacement semantics, scoping, the retrieval path, and what to report to the user. Nothing an agent needs in order to call it correctly or warn the user appropriately is missing.

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 coverage is 100%, so the schema already carries per-parameter meaning and the mode-specific required fields; the description's added value is the quality bar ('specific enough that someone reading only this note could re-enter cold') and the scoping rule behind the project slug. That is genuine guidance beyond the schema, though it does not disambiguate every optional field (keyMoment, inProgress, decisions) further than the schema already does.

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?

States a concrete verb+resource ('Save where this conversation stands') and immediately splits it into the two supported modes, checkpoint vs close, with the distinct effect of each. It also names the counterpart tool ('muninn_session_boot returns the latest checkpoint as carryover') so an agent can place it in a read/write pair without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit trigger conditions for both modes, including literal user phrasings ('save our place', "we're done", 'carry this to the next chat') and a timing rule ('before a long session might drop'). It also tells the agent exactly when to populate the project parameter ('when the user's project instruction declares "MUNINN project: <slug>"') and when to omit it, plus which sibling retrieves the data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources