Skip to main content
Glama

update memory

native.update_memory
DestructiveIdempotent

Keep this goal's notebook current, beside other calls or your final reply (final_reply), never alone. It holds what the creator requires, the constraints, your decisions, plan steps, blockers, facts and results, and it lasts across steps, compaction, turns, delegated agents and recovery. Add what you found and decided; update an entry's status as it finishes; drop what no longer applies. Requirements and constraints must include cites with workingMemory.commandId or another observed source; other entries may cite the tool result's fullResultResourceId or resource@revision they came from, and a cite this request cannot confirm is left off (citesNotKept). Pass expected_revision from the memory you read; a changed memory returns the current entries. Never record hidden reasoning, credentials or user-facing replies.

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": {
      "work_id": "<work_id>",
      "arguments": "<arguments>",
      "expected_catalog_version": "<expected_catalog_version>",
      "read_skills": "<read_skills>",
      "request_key": "<request_key>"
    },
    "name": "native.update_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idYes
argumentsYes
read_skillsYesExact required native skills and their dependencies, copied from the accepted session bootstrap's skills array. Include only entries in that array. General mcp.* guides and native.{studio}.instructions are guidance, not native skill proofs.
request_keyYes
publication_proposal_idNoFor native Social scheduling, the exact server-approved publication proposal. This identifier cannot confer approval by itself.
expected_catalog_versionYesFor a new session, read a studios/{studio}/native/{pack} child toolset and copy invocation.catalog_version from a native tool descriptor. Do not use the top-level library version. For calls in an existing session, use that session proposal's catalog_version.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds behavior the annotations cannot: the memory "lasts across steps, compaction, turns, delegated agents and recovery," writes are revision-guarded ("a changed memory returns the current entries"), and unverifiable cites are silently dropped ("citesNotKept"). That discloses the non-obvious failure and persistence semantics an agent needs before mutating shared state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening clause is well front-loaded, but the rest is a single dense run-on sentence packing persistence, operation guidance, citation policy, concurrency, and prohibitions together. Nearly every sentence earns its content, yet the lack of separation into distinct lines makes the rules hard to scan and easy to miss.

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 complex, destructive, revision-guarded memory tool with an output schema, the description covers the write model, persistence scope, cite validation, and reply semantics — everything needed to invoke it correctly. Gaps are minor: request_key's idempotency role and read_skills' proof function are left entirely to the schema.

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?

With 50% schema coverage, the description carries real weight and does: it explains expected_revision's role, the cite acceptance rules (workingMemory.commandId or other observed source for requirements/constraints; fullResultResourceId or resource@revision otherwise), and when final_reply must or must not be supplied. It does not address work_id, request_key, or read_skills beyond what the schema already says, so not a 5.

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 gives a concrete verb-and-resource framing ("Keep this goal's notebook current") and enumerates the exact operations available — "Add what you found and decided; update an entry's status as it finishes; drop what no longer applies" — which matches the add/update/drop op enum. The metaphor "notebook" instead of "memory" and the absence of an explicit statement of what resource is being mutated keep it just short of a 5, but an agent can still tell what the tool does.

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

Usage Guidelines5/5

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

It states a hard usage rule up front — call it "beside other calls or your final reply (final_reply), never alone" — plus per-operation guidance (add findings, update status when finished, drop stale entries). It also states exclusions: never record "hidden reasoning, credentials or user-facing replies," and it explains the revision precondition ("Pass expected_revision from the memory you read"). That is explicit when, how, and when-not guidance.

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