Skip to main content
Glama

engraphis_update_memory

Idempotent

Edit a stored memory's title, type, or importance while preserving history and blocking changes to provenance, trust, and sensitivity.

Instructions

Edit metadata only (title/type/importance). Identical retries are atomic no-ops. Content uses governed correction to preserve history; secrets are rejected and provenance/trust/ sensitivity cannot be edited.

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

Input Schema

NameRequiredDescriptionDefault
repoNoOptional repo scope.
actorNoLocal actor label; team mode uses caller identity.user
mtypeNoOptional type: working|episodic|semantic|procedural.
titleNoOptional title.
memory_idYesMemory id.
workspaceNoMemory workspace.default
importanceNoOptional importance 0 to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds concrete semantics: identical retries are atomic no-ops, secrets are rejected, and governance-protected fields are immutable. That is genuine context beyond the annotation flags, though it does not say what the response looks like or what happens when a protected field is supplied.

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?

Two dense sentences with no filler, and the most decision-relevant fact (metadata only) is front-loaded. The 'governed correction to preserve history' clause is slightly opaque, costing a point.

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 7-parameter mutation tool with no output schema, the description covers the critical unknowns: edit scope, idempotency behavior, immutability of governed fields, and secret rejection. Minor gaps remain around partial-update semantics and team-mode actor/workspace handling, but the essentials are present.

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 memory_id, repo, actor, workspace and the 0-1 importance range are already documented. The description reinforces which fields are editable (title/type/importance) but adds no syntax or format detail beyond the schema, so the baseline 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?

States a specific verb ('Edit') and a scoped resource ('metadata only (title/type/importance)'), which immediately distinguishes it from content-writing operations. It stops short of naming a sibling tool for content changes, referring only obliquely to 'governed correction'.

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?

Gives clear conditions: use this for metadata, not content, and not for provenance/trust/sensitivity, which 'cannot be edited'. Secrets are explicitly excluded. It lacks an explicit alternative-tool pointer for content corrections, so the agent must infer where that work belongs.

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