Skip to main content
Glama

memory_apply_persona

Apply a mined persona update to an agent's persistent memory, adjusting persona facets with confidence and friction to refine self-evolving behavior across conversations.

Instructions

Apply a persona update (from LLM persona mining).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updateYesPersonaUpdate with friction, confidence, and persona facets
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.8/5.0
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 disclosing behavioral traits, but it only says 'apply' without stating whether this mutates persistent state, merges with existing persona data, overwrites previous values, or has side effects. It also does not mention whether an existing agent must exist or whether the update is validated. The write-like behavior is only implied by the verb.

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 one short sentence that is front-loaded with the action and resource. It contains no redundant filler, and the parenthetical is a compact way to convey the update's source. However, the extreme brevity does sacrifice clarity that other dimensions rely on.

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 two required parameters, a nested object, no output schema, no annotations, and nine sibling tools, this sparse description is not complete enough for an agent to confidently select and invoke the tool. Missing information includes side effects, return value, when to use vs apply_summary, and what constitutes a valid 'update' beyond a partial schema note. It is minimally functional but leaves substantial gaps.

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 50%, with the 'update' parameter documented as 'PersonaUpdate with friction, confidence, and persona facets', but 'agent_id' is left bare. The description adds a small amount of meaning by indicating the update originates from LLM persona mining, but it does not explain the relationship between agent_id and update or provide any additional parameter context beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states an action ('apply') and a resource ('a persona update'), and the parenthetical 'from LLM persona mining' adds useful provenance. However, it is close to a restatement of the tool name and does not clarify what applying a persona update actually does to the stored agent memory. It distinguishes itself from apply_summary only by the word 'persona' without explaining the difference in effect.

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

Usage Guidelines3/5

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

The parenthetical '(from LLM persona mining)' weakly implies when this tool is relevant: after persona mining has produced an update. But there is no explicit guidance about when to prefer this over sibling tools like memory_apply_summary, memory_save, or memory_load. The context is implied rather than stated.

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

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/tjamescouch/agentchat-memory'

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