Skip to main content
Glama

kb_find

Read-onlyIdempotent

The default way to look things up: documents (keywords and meaning), text files in file storage, and memory at once. Results are merged, ranked by relevance, and each shows where it came from (path and lines); memories show their id and expiry, and the documents found bring along the documents their authors linked. scope=memory searches memory only.

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

Input Schema

NameRequiredDescriptionDefault
fastNotrue: quick lookup that skips the final reranking pass. Several seconds faster, with rougher ordering (and no newest-first among equally relevant results). Default false
limitNoHow many results (default 10, max 30)
queryYesA question or a few keywords, in any language
scopeNoOnly one kind: docs, files or memory (default all)all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fast
      Added value: +{
      +  "default": false,
      +  "description": "true: quick lookup that skips the final reranking pass. Several seconds faster, with rougher ordering (and no newest-first among equally relevant results). Default false",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavior beyond that: results are merged across three sources, ranked by relevance, and carry provenance (path and lines / memory id and expiry), plus linked-document expansion. It stops short of describing truncation or cost characteristics beyond what the schema's 'fast' flag implies.

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?

Front-loaded with the core 'default lookup' framing and scoping, then a dense second sentence on merge/rank/provenance. The second sentence is semicolon-chained and slightly run-on, but every clause conveys result-shape information an agent needs.

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

Completeness5/5

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

With no output schema, the description carries the full burden of explaining return values, and it does so: merged multi-source results, relevance ranking, per-result provenance, memory metadata, and linked-document expansion. Combined with a fully documented four-parameter schema and complete annotations, an agent has what it needs to call this correctly.

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 description coverage is 100%, with limit, fast, query and scope all documented inline, so the schema does the heavy lifting. The description only reinforces the scope enum ('scope=memory searches memory only'), adding modest value over the structured field rather than new syntax or format detail.

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?

States a specific verb-and-resource pairing ('look things up') and enumerates exactly what is searched: documents by keyword and meaning, text files in file storage, and memory. It also self-positions as 'the default' lookup, which lets an agent pick it over narrower siblings without inspecting their schemas.

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?

The phrase 'the default way to look things up' gives a clear default-first heuristic, and 'scope=memory searches memory only' clarifies the narrowing behavior. It does not, however, name an explicit alternative (e.g. a keyword-only search sibling) or state when *not* to use this tool, so the routing guidance is strong 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.

Resources