Skip to main content
Glama

search_knowledge

Finds existing knowledge from the local research library by combining semantic similarity and keyword matching automatically. Use it to retrieve past findings without choosing between search methods.

Instructions

Search findings using both semantic similarity and keyword matching. Automatically combines both approaches for best results.

AUTOMATIC TRIGGERS - Call this when:

  • You need to search for existing knowledge

  • Starting research or looking for past findings

  • Not sure whether to use keyword or semantic search

This tool handles routing internally - no need to choose between search_findings and retrieve_findings.

For broad exploration, use general query terms. For specific facts, use exact phrases or keywords.

CONFIRMATION TIER: READ OPERATION - No confirmation needed. Safe to call freely.

PARAMETERS:

  • query: Search query (required) - keywords or natural language

  • limit: Max results (default: 10)

Returns combined results from both FTS keyword search and semantic retrieval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it delivers: it discloses the read-only safety profile ('CONFIRMATION TIER: READ OPERATION... SAfe to call freely'), the automatic internal routing behavior, and the composite return nature ('combined results from both FTS keyword search and semantic retrieval'). It stops short of describing result ordering or deduplication across the two retrieval modes, which would complete the picture.

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?

Well-structured with labeled sections (AUTOMATIC TRIGGERS, CONFIRMATION TIER, PARAMETERS) and a front-loaded summary sentence. Minor redundancy: the dual-combination behavior is stated in the opening, the routing paragraph, and the closing return sentence. Every section otherwise earns its place.

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 a simple two-parameter read tool, the description covers purpose, triggers, routing behavior, safety, parameter semantics, and query strategy. With no output schema present, the main gap is the structure of result items, but for a search tool this is a minor omission given everything else is covered.

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 coverege is 0%, so the description must compensate, and it does: it explains that query accepts 'keywords or natural language' (non-obvious and important for a hybrid-search tool) and that limit means 'Max results.' For a two-parameter tool this is adequate, though it could add detail on whether limit applies per source or in total.

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, resource, and method: 'Search findings using both semantic similarity and keyword matching.' It explicitly differentiates from siblings by naming them: 'no need to choose between search_findings and retrieve_findings.' An agent can tell this tool apart from its siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

An 'AUTOMATIC TRIGGERS' section lists three concrete trigger conditions, including the tie-breaker 'Not sure whether to use keyword or semantic search.' It explicitly handles the when-not case by routing around search_findings and retrieve_findings, and adds query-strategy guidance distinguishing broad exploration from specific facts.

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/Vedant9500/OpenLMlib'

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