Skip to main content
Glama

memory_touch

Marks a stored memory as used by increasing its weight and refreshing its last-touched time, and automatically consolidates it into long-term memory when eligible.

Instructions

标记一条记忆被命中:抬权重并刷新触及时间;够格时会自动巩固为长期记忆。

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": {
      "id": "<id>"
    },
    "name": "memory_touch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose real side effects: weight is raised, touch time is refreshed, and consolidation into long-term memory can happen automatically. That is meaningful beyond a bare 'touch'. Gaps remain: nothing about behavior when the id does not exist, whether the call is idempotent, caps on weight, or what the response reports.

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?

One compact sentence with the primary action front-loaded and the escalating effects (weight, touch time, consolidation) ordered by consequence. Nothing is wasted, though the semicolon chain is dense and could be split for easier scanning.

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?

For a one-parameter mutation tool with no annotations and no output schema, the description covers the important effect chain, which is the core need. It still leaves out failure behavior and what the caller receives back, which matters precisely because no output schema exists to answer that question.

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?

The schema has one required parameter at 0% description coverage, so the description must compensate. It implies the id identifies an existing memory but adds no detail on identifier format, source, or how to obtain a valid id (memory_query, memory_recall, etc.), leaving the single parameter thinly specified.

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 ('标记' / mark) and resource ('一条记忆' / a memory) plus the outcome: weight boost, touch-time refresh, possible consolidation. An agent knows exactly what the call does. It does not, however, differentiate itself from siblings like memory_consolidate or memory_record, which is why it falls short of a 5.

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?

Usage is only implied by the phrase '被命中' (being hit) — the agent must infer that this is the call to make when a retrieved memory proves relevant. There is no explicit when-to-use, when-not-to-use, or named alternative such as memory_record or memory_consolidate for the non-reinforcement paths.

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