Skip to main content
Glama
Memory Bridge
by shuimo233

memory_save_communication_preference

Idempotent

Save a user's explicit communication preference with source evidence so future replies follow their language, tone, format, or clarification rules across sessions.

Instructions

Remember how the user explicitly wants future replies written, even on unrelated topics.

Use for lasting requests about language, tone, format or when to ask the user. A preference like "choose routine details yourself" guides conversation only. First append the user's words as evidence. Pick one stable key per habit. Task scope needs a scope_id. For a one-time request, just adapt the current reply. To change a saved habit, correct its existing record_id with memory_write.

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": {
      "key": "<key>",
      "preference": "<preference>",
      "evidence_ids": "<evidence_ids>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "memory_save_communication_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
scopeNoproject
scope_idNo
preferenceYes
evidence_idsYes
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive write, so the bar is lower. The description usefully adds the prerequisite workflow (append the user's words as evidence first) and the one-stable-key-per-habit rule, but it says nothing about what happens on a duplicate key, how the idempotency key behaves, or how global vs project scope differ.

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?

Front-loaded with the core intent, and every later sentence adds a rule the agent needs. The line-broken fragments ('A preference like ... guides conversation only.') read as clipped notes rather than prose, but nothing is padded.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the write workflow is sketched. Still, for a 6-parameter mutation with zero schema coverage, missing definitions for preference, idempotency_key, and the scope enum leave an agent guessing on half the inputs.

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 description coverage is 0%, so the description must carry the load and only partly does: it explains evidence_ids (append the user's words as evidence), key (one stable key per habit), and scope_id (required for task scope). The required 'preference' and 'idempotency_key' parameters, plus the meaning of the global/project enum values, are left entirely to field names.

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?

Names a specific verb and resource: remembering how the user wants future replies written, and scopes it to lasting preferences across unrelated topics. It distinguishes itself from a one-time adaptation and points at memory_write for corrections, though it never contrasts itself with the other equally plausible siblings memory_write/memory_append for the initial save.

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?

Explicitly states when to use it (lasting requests about language, tone, format, or when to ask), when not to (a one-time request should just be adapted in the current reply), and the alternative for changing a saved habit (correct the existing record_id with memory_write). That is the full when/when-not/alternative triad.

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