Skip to main content
Glama

Guardar memória do Nock Agent

save_memory
Idempotent

Keep something the user asked to be remembered ("lembra que...", "a partir de agora...") for every later conversation. One sentence each, in their words. Not for the company profile (what it sells, the ICP) nor for how messages must read ("nunca fale de preço", "sempre em português"): those are kept in the knowledge base and the cadence rules.

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": {
      "memories": "<memories>"
    },
    "name": "save_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, and idempotent, and the description adds the one genuinely new behavioral fact: the item persists into every later conversation. It says nothing about how duplicates are handled despite the idempotent hint, nor about the per-call ceiling, batching, or what a caller gets back.

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?

Three sentences, front-loaded with the action and its persistence scope, followed by concrete exclusion criteria; nothing is padded. The mixed English description with Portuguese quoted triggers is slightly harder to scan but the triggers are the point.

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 single-parameter, annotations-covered write tool with no output schema, the description covers purpose, persistence scope, and the main misuse cases, which is enough to call it correctly in most cases. The nested memory object's kind and personal fields remain undocumented anywhere, keeping it short of complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden, and it only partially does: "one sentence each, in their words" gives useful guidance for content (280-char limit). The kind enum (fact/preference/decision/episode/outcome/proposal), the personal flag distinguishing an individual's taste from the company's, and the 1-5 items-per-call bound are all left unaddressed.

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 (keep something the user asked to be remembered, persisting across later conversations) and immediately carves out two adjacent domains it is not for: the company profile and message-style rules. It never names the sibling tools that own those domains (add_knowledge_document, add_cadence_rule), so routing is by category rather than by tool name.

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?

Clear when-to-use triggers are given as quoted user phrases ("lembra que...", "a partir de agora...") and explicit exclusions follow (company profile contents, tone/language rules). It does not mention how this relates to forget_memory or what to do when a memory already exists, which is the main remaining gap.

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.