Skip to main content
Glama

memory_update

Updates an agent memory record at the user's request; passed fields are replaced, and a new level, projectID or repositoryID moves it. Authors edit their own records, moderators (memory:moderate) any but user-level ones; content edits make the record personal and unverified again, and verified and shared (shared needs verified) are a human moderator's decision. Rejected if the record changed since the given version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
IDYesRecord ID.
jobsNoJobs the record is for; at least one for job and request, none for always.
loadNoalways - delivered with any work, short; job - with the jobs in `jobs` (prevention, silent pitfalls); request - only in the `memory` index, read by ID (symptom diagnostics, narrow areas).
textNoOne topic, 1.5-3 thousand characters (max 4,000), in the language of the workspace data: rules and facts with reasons. Author and date are record fields, no "Source" line needed.
levelNoNew level (moves the record).
titleNo"<area> · <situation or symptom>: <what's inside>", up to 200 characters, in the language of the workspace data; agents judge relevance by it.
sharedNoRequires memory:moderate: shared with all company agents (true) or personal to the author's (false).
versionYesRecord version the change is based on.
verifiedNoRequires memory:moderate: the record is verified.
projectIDNoNew project ID, for level = project.
repositoryIDNoNew repository ID, for level = repository.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With annotations covering only readOnlyHint=false and destructiveHint=false, the description carries the real behavioral load: partial-update semantics, level changes relocating the record, permission tiers (author vs memory:moderate), the side effect that content edits reset the record to personal and unverified, the human-moderator gate on verified/shared, and optimistic-concurrency rejection on stale version. This is materially more than the annotations convey.

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?

It is a single dense semicolon-chained block, but the purpose is front-loaded and nearly every clause carries distinct information (semantics, permissions, side effects, concurrency). It could be broken into shorter sentences for scanability, but there is little filler to cut.

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 an 11-parameter mutation tool with no output schema, it covers permissions, side effects, partial-update semantics, and concurrency adequately. The main omission is what the call returns (e.g., the new version for subsequent updates), which matters for a version-guarded write.

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 description coverage is 100%, so the schema already documents every field, setting the baseline at 3. The description still adds cross-parameter meaning the schema does not: that passed fields are replaced (partial update), that level/projectID/repositoryID jointly move the record, and that shared/verified require moderator rights.

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?

The description states a specific verb and resource ('Updates an agent memory record') and immediately scopes the semantics ('passed fields are replaced, and a new level, projectID or repositoryID moves it'). It is unambiguous against memory_read/list/delete/create by name and content, though it never explicitly names a sibling to distinguish itself.

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 operating context: the update is performed 'at the user's request', authors may edit their own records, moderators (memory:moderate) may edit any but user-level ones, and the call is rejected on version conflict. It stops short of explicitly naming alternatives (e.g., memory_create for new records), so it is clear context without full when/when-not routing.

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