Skip to main content
Glama

quotemem_add

Store a conversation turn in long-term memory, extracting durable facts tied to exact source quotes so they become searchable for future recall.

Instructions

Store a conversation turn in long-term memory. The service extracts durable facts, ties each to the exact quoted words, and returns once they are stored and searchable (usually tens of seconds, sometimes minutes). Send the user's own words; never send secrets such as passwords, keys or tokens.

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": {
      "messages": "<messages>"
    },
    "name": "quotemem_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
messagesYes
request_idNoReuse the request_id from a failed attempt to retry it safely; omit for new content.
session_idNoConversation id; defaults to one id for this session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=false, so the safety profile is covered. The description adds context annotations cannot: the call is synchronous and slow ('usually tens of seconds, sometimes minutes'), and completion means the memories are stored and searchable — critical for an agent deciding whether to block on it. It does not address duplicate handling if the same turn is sent twice.

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?

Three sentences, front-loaded with the action, then the processing/latency expectation, then the content constraint. Nothing repeats the name, title, or annotations, and no sentence is filler.

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 non-destructive write tool with no output schema, the definition covers latency, processing semantics, content rules, and (via the schema) safe retry. The main remaining gap is the return payload: with no output schema, an agent cannot tell whether it receives memory IDs or a count.

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 coverage is 67% and the top-level request_id and session_id both carry descriptive text, as does speaker and timestamp, so the schema largely self-documents. The description adds only content intent ('the user's own words', no secrets) and does not explain the messages array shape or how roles should be assigned. Baseline 3 is appropriate.

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 states a specific verb and resource ('Store a conversation turn in long-term memory') and adds the processing model (facts extracted, each tied to exact quoted words). It is clearly the write path, implicitly distinct from search/history/provenance siblings, though it never names an alternative explicitly.

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?

It gives real content guidance ('Send the user's own words') and a prohibition ('never send secrets such as passwords, keys or tokens'), which shapes what the agent sends. However, it says nothing about when not to call it, how often to call it relative to other quotemem tools, or how it relates to quotemem_search / quotemem_history.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.