Skip to main content
Glama
danielsimonjr

Enhanced Knowledge Graph Memory Server

adaptive_retrieve

Retrieve knowledge by iteratively searching, scoring coverage, and rewriting the query. Stops early when coverage target is reached or no expansion tokens remain, with no external LLM required.

Instructions

3B.5 — Run iterative query-rewriting retrieval. Up to maxRounds of (search → score coverage → rewrite). Stops early when coverage ≥ minCoverage or no expansion tokens. Pure symbolic — no LLM provider required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
maxRoundsNo
minCoverageNo
budgetTokensNoOptional token budget; rejects retrieval if cost exceeds budget
resultsPerRoundNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the iterative process, stopping conditions (coverage or token expansion), and that it is purely symbolic with no LLM required. It does not mention side effects or output format, but the read-only nature is implied.

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?

Two sentences efficiently convey the purpose, algorithm, and key behavioral traits. No wasted words; front-loaded with the title and process description.

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?

Given the tool complexity (5 parameters, no output schema), the description covers the core algorithm and stopping conditions. It lacks details on return format or result structure, but for a retrieval tool, the provided information is sufficient for basic usage.

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 only 20% (only budgetTokens has a description). The description does not detail individual parameters but explains the overall algorithm, which helps interpret the roles of query, maxRounds, minCoverage, etc. This partially compensates for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs iterative query-rewriting retrieval, outlining the steps (search → score coverage → rewrite) and specifying it is purely symbolic without an LLM. This distinguishes it from sibling tools like semantic_search or hybrid_search.

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?

The description explains the algorithm and stopping criteria but does not explicitly guide when to use this tool versus alternatives. It implies use for multi-round retrieval to improve coverage but lacks explicit when-to-use or when-not-to-use instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielsimonjr/memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server