Skip to main content
Glama

korely_search

Semantic vector search over raw memories, and the facts when asked: ranked hits with a score. agent_id narrows to one agent's namespace. limit: 1 to 50. min_score (0 to 1, optional) leaves out the memories scored below it; with facts in types it is refused. exclude_sessions leaves out the work sessions a coding assistant saved. types: memories (default), facts (the facts true now, written directly ones included), or memories,facts (both, merged by rank, not by score; at equal rank a memory first). Each hit shows 280 characters of its text (a fact's line) and its id, mem_ or fct_, the last one on the line that begins with its score; the lines of a text after its first are indented. full_text shows whole texts, 8000 tokens of them in all as printed; past them a hit shows what is left, at least its 280 characters, marked [cut]. For the assembled block, use korely_get_context instead.

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": "korely_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
typesNomemories
user_idNo
agent_idNo
full_textNo
min_scoreNo
exclude_sessionsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the min_score exclusion rule, the fact that min_score is refused when facts are requested, what exclude_sessions filters out, how merged memories/facts are ordered ('by rank, not by score'), and truncation behavior including the 8000-token budget and [cut] marker. These are behaviors an agent could not infer from the schema.

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?

It is front-loaded with the core purpose and contains little truly redundant content, but the body is one long telegraphic run-on with fragmentary clauses ('the facts true now, written directly ones included') and arbitrary line breaks. The information earns its place; the presentation makes it costly to parse.

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?

For an 8-parameter search tool with no annotations, the description covers ranking, filtering, merging, and output truncation thoroughly enough to call it correctly, and it correctly delegates return-value specifics to the output schema and korely_get_context. The unmentioned user_id parameter is the main residual gap.

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

Parameters4/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate, and it does for most: limit bounds (1 to 50), min_score range (0 to 1) plus its interaction with types, agent_id namespace narrowing, exclude_sessions, types' three permitted values and default, and full_text's effect. query is only implied by 'semantic vector search' and user_id is never mentioned, leaving two parameters underspecified.

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 and resource: 'Semantic vector search over raw memories, and the facts when asked', returning 'ranked hits with a score'. It also names the sibling it is not ('For the assembled block, use korely_get_context instead'), so an agent can route correctly. Density and erratic line breaks make the core statement slower to extract than it should be, which keeps it off 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 Guidelines4/5

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

Gives explicit routing to korely_get_context for the assembled block, and describes the selection between memories and facts via types. It does not describe when to prefer korely_get_facts or when not to use search at all, so guidance is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.