Skip to main content
Glama
Leeroo-AI

Leeroopedia MCP Server

Official
by Leeroo-AI

search_knowledge

Look up ML/AI framework docs, API references, and config formats to get verified answers before coding instead of guessing.

Instructions

Search the knowledge base for framework documentation, API references, config formats, and best practices.

Covers a wide range of ML/AI frameworks, libraries, and tools with architecture docs, implementation patterns, configuration references, and troubleshooting guides.

Use this tool when you need to:

  • Understand how a framework, library, or API works before implementing

  • Look up config formats, data structures, or expected behavior

  • Learn about architecture, design patterns, or conventions of a project

  • Get verified information instead of guessing about framework internals

IMPORTANT: Use this tool BEFORE you start coding whenever the task involves a framework or library. It is much faster and more accurate than guessing. Call this tool multiple times in parallel with different queries to search from multiple angles at once.

Returns a synthesized answer with [PageID] citations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesWhat you want to find out (e.g., 'How does device_mapping work in ROLL?', 'What is the MNN backend selection config format?')
contextNoOptional context about what you're building (e.g., 'I am implementing a CLI tool that parses YAML configs')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.9

TDQS

A3.9/5.0
Behavior4/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 disclose real behavior: it returns a synthesized answer with [PageID] citations, and it explicitly supports parallel multi-query invocation. It omits rate limits, auth expectations, and any indication of result size or paging, so not fully transparent.

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 purpose sentence followed by scoped coverage and a clean bulleted usage list. Some promotional filler ('much faster and more accurate than guessing') could be trimmed, but the structure is easy to scan.

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 two-parameter search tool with no output schema and no annotations, the description supplies the return format (synthesized answer with citations) and usage timing, which is what an agent needs. Gaps are minor: no pagination or result-scope expectations.

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% and the schema already gives examples for both query and context, so the baseline is 3. The description reinforces the multi-angle query idea but adds no syntax, format, or constraint detail beyond the schema.

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+resource ('Search the knowledge base') and enumerates the covered content domains (framework docs, API references, config formats, best practices). It is clearly distinct from siblings like query_hyperparameter_priors or get_page by domain, though it never names an alternative explicitly.

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?

Provides a concrete when-to-use list ('Understand how a framework works', 'Look up config formats', 'Get verified information instead of guessing') plus timing guidance ('BEFORE you start coding') and a parallelism tip. No explicit when-not or named alternatives, so it stops short of a 5.

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