Skip to main content
Glama
FocalMem MCP Server

FocalMem MCP Server

by kannazuki114

graph_query

Read-only

Query causal memory graphs to retrieve concise node summaries and source pointers, while excluding superseded solutions by default.

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": {
      "query": "<query>"
    },
    "name": "graph_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
limitNo
queryYes
project_idNodefault
include_supersededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does add real context: results are deliberately truncated to node summaries plus pointers to source text, which is a non-obvious behavioral trait. It also states that superseded plans are filtered out by default, though that partly restates the include_superseded schema default rather than adding beyond it.

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?

A single dense sentence with no filler, and the core return-contract detail is front-loaded. Readability suffers slightly from cramming two distinct facts (return shape and default filtering) into one clause, but nothing is wasted.

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?

With 5 parameters at 0% schema coverage and no output schema, the description needs to do more work than it does. It usefully explains the truncated return shape and default exclusion, but leaves depth, limit, and project_id entirely undocumented, which is a material gap for a graph traversal tool.

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% across 5 parameters, so the description must compensate and largely does not. It only gestures at include_superseded semantics ('默认隔离已被废止的旧方案') and says nothing about depth, limit, project_id, or the query string.

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 names a specific verb and resource: '因果图谱检索' (causal-graph retrieval), making clear this queries a causal graph rather than raw memory. It does not, however, contrast itself with siblings such as pointer_hydrate or memory_bootstrap, so an agent must infer the boundary.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no named alternative. The only usage-relevant signal is the default behavior of excluding superseded items, which implies a use case but does not tell the agent when pointer_hydrate or another sibling is the better choice.

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