Skip to main content
Glama

Maindex Smart Memory Service

This connector has been deprecated

Replaced by Maindex Smart Memory Service.

Duplicate entry

update

Update an existing memory in Maindex (Smart) by mem-* ID. Supply content, headline, tags, and/or metadata; at least one field is required. Each successful update creates a new revision (Expert semantics). CONTENT POLICY: NEVER store passwords, API keys, secrets, credit card numbers, SSNs, government IDs, medical/health records (PHI/HIPAA), biometric data, or any legally protected PII.

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": {
      "target_id": "<target_id>",
      "changes": "<changes>"
    },
    "name": "update"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYesFields to change; at least one of content, headline, tags, or metadata is required.
rewriteNoFAILSAFE — defaults to false. When false (the default), content is stored exactly as provided with zero LLM processing. Set to true ONLY if the caller explicitly opts into LLM-assisted rewriting for improved clarity and structure. No content transformation occurs unless this flag is explicitly true.
target_idYesMemory ID (mem-xxxx or team-slug:mem-xxxx).

Output Schema

NameRequiredDescriptionDefault
memoryYesThe updated memory object, or null on failure
successYesWhether the update succeeded
traceIdYesTrace ID for debugging

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), it discloses two behaviors the agent could not infer: every successful update creates a new revision, and content is stored verbatim with no LLM rewriting unless the caller explicitly opts in. The content policy also flags a real compliance constraint. It does not describe what happens on a missing/invalid ID or the response shape, but that gap is modest.

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?

Front-loaded with the action and target ID, then requirements, then revision semantics, then the policy block. The content-policy sentence is long but carries genuine safety value; there is little filler, though the requirement clause partially duplicates the schema.

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?

With an output schema present and full schema coverage, the description need not explain return values, and it covers the mutation semantics (revision creation) and the rewrite default that the schema only documents locally. It does not address failure modes for a non-existent or malformed mem-* ID, which is the remaining gap for a mutation tool.

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 100%, so the schema already explains target_id, rewrite, and every nested changes field in detail. The description only restates that at least one of content/headline/tags/metadata is required and adds the mem-* ID format; it says nothing about collection/collections or the rewrite flag, leaving the schema to do the work. 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?

"Update an existing memory in Maindex (Smart) by mem-* ID" gives a specific verb, resource, and targeting key, so the operation is unmistakable. It stops short of naming the siblings (keep/forget/recall) or stating that this is the mutation counterpart to them, so differentiation is inferred rather than explicit.

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 description implies usage (modify a memory that already exists, at least one field required) and adds a strong when-NOT constraint in the content policy covering secrets and protected PII. It never names an alternative tool or states the condition that would send the agent to keep/forget/recall instead, so routing guidance is only implied.

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