Skip to main content
Glama
FocalMem MCP Server

FocalMem MCP Server

by kannazuki114

pointer_hydrate

Retrieves the original text snippet for a stored reference, repairs line-number drift, and refreshes the related memory's activity score.

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": {
      "pointer_id": "<pointer_id>"
    },
    "name": "pointer_hydrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointer_idYes
context_linesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

The annotations declare readOnlyHint=false, which is consistent with the stated side effect of refreshing memory activity heat, so there is no contradiction. The description adds useful behavior beyond the annotations: drift self-healing for line numbers and a mutation of memory heat. However, it does not say what happens when the pointer cannot be resolved, whether the heat refresh is guaranteed, or what the 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?

The description is a single dense sentence with the primary action front-loaded and the side effect placed after it. There is no filler, but its compactness is achieved partly by omitting parameter and failure information that a caller needs.

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

Completeness2/5

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

This is a mutation tool with no output schema and zero schema description coverage, so the description should explain its inputs and failure modes, but it does neither. The most consequential parameter, context_lines, goes undiscussed, and nothing explains what a hydrated fragment looks like or what happens when drift healing fails.

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?

The schema description coverage is 0%, so the description must carry the full burden of explaining the parameters, but it explains neither of them. 'pointer_id' is only hinted at by '按原文指针', and 'context_lines' (default 5, range 0–50) is never mentioned, even though its effect on the returned fragment is unclear. This leaves a material gap that the schema alone does not fill.

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: it pulls back the high-definition fragment for a given original pointer, and it also refreshes that memory's activity heat. The phrase 'line-number drift self-healing' further narrows what the operation does. However, it never contrasts itself with the sibling tools (such as graph_query or memory_resolve_conflict), so an agent must infer the difference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit guidance about when to use this tool, when to avoid it, or which alternatives to use instead. The only implied context is that the caller already holds an original pointer. Nothing says what to do when the pointer is stale or when a sibling tool would be a better choice.

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