Skip to main content
Glama
sujkh85

Infinite Context Keeper

by sujkh85

search_and_inject_memory

Retrieve relevant memories from semantic storage and inject them into the context at session start or after compaction, guided by task description and session details.

Instructions

새 세션/compaction 직후 컨텍스트 상단 주입 블록을 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_descriptionYes
project_idYes
session_idYes
top_kNo
max_inject_tokensNo
fill_from_projectNo
include_recent_compaction_in_queryNo
injection_modeNomanual
Behavior2/5

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

No annotations are present, so the description carries the full burden. It states 'returns' but the tool name includes 'inject', creating ambiguity about whether it modifies state. No behavioral traits (e.g., side effects, permissions, rate limits) are disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it sacrifices substance. It is front-loaded with key terms but lacks the detail needed for effective use.

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

Completeness1/5

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

Given 8 parameters, a complex behavior (search and inject), and no output schema or annotations, the description is entirely inadequate. It does not explain inputs, outputs, or behavior, leaving the agent without essential information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no information about any of the 8 parameters. The agent has no clue what parameters like 'task_description', 'injection_mode', or 'fill_from_project' mean or how to use them.

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

Purpose2/5

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

The description states 'returns a context top injection block immediately after a new session/compaction' but does not clearly explain what the tool does. The verb 'returns' is vague, and the resource 'context top injection block' is not defined. It fails to distinguish from sibling tools like inject_relevant_memories.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of context, prerequisites, or when not to use it. The sibling tool 'inject_relevant_memories' likely serves a similar purpose, but the description offers no differentiation.

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/sujkh85/infinite-context-keeper-node'

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