Skip to main content
Glama

Save Memory

save_memory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe full updated memory document (markdown)
on_behalf_ofNoAn agency client's email, from list_agency_clients, to run this call in that client's account: their agents, settings, connected accounts, and credits. Omit it to act on your own account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / on_behalf_of
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "An agency client's email, from list_agency_clients, to run this call in that client's account: their agents, settings, connected accounts, and credits. Omit it to act on your own account."
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds real value beyond the annotations by disclosing the critical behavior that this REPLACES the entire document rather than merging or appending — the single most important thing to know before calling a write tool whose destructiveHint is false. It also states the return shape ('Dict with success status'). It does not mention permission requirements or what happens on partial/invalid input, which is why it is not a 5.

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?

Short, XML-tagged and front-loaded: the replacement warning appears in the second clause rather than buried. Minor redundancy between 'Pass the COMPLETE updated memory' and 'pass the full result', which restates the same instruction.

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 2-parameter write tool with no output schema, the description covers what it does, the overwrite semantics, the workflow, and the return value. Nothing essential to invoking it correctly is missing; only edge behavior (errors, credit/agency scoping) is left 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?

Schema coverage is 100%, so a baseline of 3 applies; the description earns above baseline by hammering the 'COMPLETE / full result' constraint on `content`, clarifying that replacing semantics apply rather than a patch. It says nothing about `on_behalf_of`, but the schema documents that parameter thoroughly, so no compensation is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Save the user's memory document') and immediately clarifies the semantic mode: full replacement of the document. This implicitly but clearly distinguishes it from an append-style sibling (append_learning) and from get_user_memory, since the agent knows this overwrites rather than appends.

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 a clear usage procedure: read the current memory from context, make changes, pass the full result. It establishes the precondition (you must already hold the current document), but it never explicitly names an alternative tool or a 'do not use this when…' case, so routing guidance is inferred rather than stated.

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