Skip to main content
Glama

Update AI memory item

update_ai_memory_item
Idempotent

Partially update an AI memory note — only provided fields change. Can re-scope by passing entity_type/entity_id/brain_id/agent_id.

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": "update_ai_memory_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
agent_idNo
brain_idNo
entity_idNo
memory_idYes
importanceNo
descriptionNo
entity_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, and idempotent=true, so the safety profile is covered. The description adds real behavioral content beyond that — partial-patch semantics and the ability to re-scope via entity_type/entity_id/brain_id/agent_id — but says nothing about what happens on an invalid memory_id, whether re-scoping is validated against existing entities, or error behavior.

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 compact clauses with no filler, and the key partial-update constraint is front-loaded before the re-scope note. The second sentence is a bare parameter list rather than an explanation, which is efficient but slightly clipped for a zero-coverage schema.

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

Completeness3/5

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

For an 8-parameter mutation tool with 0% schema coverage and no output schema, the description covers the important patch semantics and half the parameters' roles. It remains incomplete on the four unmentioned fields and on failure/validation behavior, which an agent would need to call it confidently.

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 0%, so the description carries the full burden and only partially meets it: it groups entity_type/entity_id/brain_id/agent_id as 're-scope' inputs, which explains their purpose, but name, importance, description, and memory_id are left entirely undefined in both schema and prose.

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 and resource: 'Partially update an AI memory note,' which immediately distinguishes it from the create/delete siblings. The partial-update qualifier plus the re-scope clause makes the tool's identity clear, though it never explicitly names an alternative tool.

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?

'only provided fields change' implies this is the tool for incremental edits rather than full replacement, which is useful context for choosing it over a create-style call. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g., the memory_id must already exist), and no named alternative.

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