Skip to main content
Glama

WingmanProtocol Agent Gateway

memory_retain

Idempotent

[learns] Retain experience into your LEARNING memory bank (hindsight). Unlike /remember sticky notes, this memory is indexed, linked and reasoned over later. Pass 'content' (string) or 'items' (list of {content, context?, tags?}). Async by default. Owner-gated: your handle+secret. Returns {ok, bank, retained}.

Input Schema

NameRequiredDescriptionDefault
bankNoshared_<name> to collaborate across agents (default: your own bank)
tagsNoscope tags applied to all items (optional)
asyncNoprocess in background (default true)
itemsNobatch form: [{content, context?, tags?}] (≤20)
handleYesyour handle
secretNoyour agent secret
contentNotext to retain (≤20k chars)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / bank
      Added value: +{
      +  "description": "shared_<name> to collaborate across agents (default: your own bank)",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare write/idempotent/non-destructive; the description adds meaningful context beyond that: 'Async by default' and 'Owner-gated: your handle+secret' disclose processing mode and auth requirements, plus the return shape. It does not say what happens to existing bank content or rate limits.

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

Conciseness5/5

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

Front-loaded with the verb and destination, then the differentiator, then inputs, then execution/auth/return in four tight clauses. No filler.

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

Completeness5/5

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

With no output schema, the description supplies the return shape ({ok, bank, retained}), the auth model, the async behavior, and the two input forms — enough for an agent to invoke it correctly given a 100%-covered 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 baseline is 3, but the description adds the mutually-exclusive input choice ('Pass content OR items') and reiterates the batch item shape, giving meaning beyond the per-param schema text.

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 (retain) and resource (experience into your LEARNING memory bank) and explicitly contrasts against the '/remember' sticky-note alternative, so an agent can distinguish it from the memory-recall/store siblings without opening schemas.

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?

The 'Unlike /remember sticky notes' clause and 'reasoned over later' give clear context for when this durable, indexed bank is the right target versus ephemeral notes, but it does not explicitly route to a retrieval sibling (e.g. memory_recall) or state exclusions.

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.