Skip to main content
Glama

muninn_persona_save

DestructiveIdempotent

Create or update a persona: a named voice and identity the user defines for their assistant (for example 'Ava'). A persona has four sections: identity (who the persona is, its background and role), voice (tone, register, word choices, what it avoids), behavior (working style, how it handles uncertainty or disagreement), relationship (its history and dynamic with this user, how they address each other). Pass only the sections to create or change; the others stay as they are. Write each section as complete prose from what the user said, and ask the user for anything missing rather than inventing it. Personas are global. A persona loads only when it is named: muninn_session_boot's persona argument, normally from a 'MUNINN persona: ' line in a project instruction. Returns the rendered persona so you can show it.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe persona's name, e.g. 'Ava'. Its folder is persona-<name>.
voiceNoHow the persona speaks: tone, register, word choices, what it avoids.
behaviorNoHow the persona acts: tendencies, working style, handling uncertainty or disagreement.
identityNoWho the persona is: name, character, background, role.
descriptionNoOne sentence on who this persona is. Used when the persona is first created.
relationshipNoThe persona's relationship with this user: history, dynamic, how they address each other.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, destructive, idempotent write, and the description usefully adds the partial-update contract ('Pass only the sections to create or change; the others stay as they are'), the global scope of personas, and the returned value. It stops short of stating what existing persona content is overwritten or how name collisions are handled, which matters given destructiveHint=true.

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 definition is front-loaded with the verb and the section model, and most sentences carry real information, such as the partial-update rule and the loading mechanism. It is on the long side, and the mkdir-style detail about folder naming is left to the schema, but no sentence is filler.

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 mutation tool with no output schema, the description still states what is returned ('the rendered persona so you can show it') and how the saved object is consumed later. The omission of overwrite/collision behavior is the main remaining hole given the destructive annotation.

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 coverage is 100%, so all six parameters are already documented, which sets the baseline at 3. The description's section-by-section guidance largely restates the schema's own field descriptions, and it never mentions the `description` parameter, so it adds little semantic content beyond the structured fields.

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 names a specific verb pair (create or update) and a precisely defined resource (a persona as a named voice/identity), then enumerates its four sections (identity, voice, behavior, relationship). An agent can tell this apart from muninn_profile_save because the definition ties personas to being named and loaded via muninn_session_boot's persona argument.

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?

It gives clear operational context: pass only the sections to create or change, write complete prose from what the user said, and ask the user for anything missing rather than inventing it. The remaining gap is that it never contrasts this with muninn_profile_save, so the agent must infer which of the two identity-like save tools applies.

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