Skip to main content
Glama
nikhgupta

MindsDB MySQL MCP Server

by nikhgupta

search_kb

Search knowledge bases with hybrid semantic and keyword queries to find relevant information chunks with relevance scores.

Instructions

Search a knowledge base using hybrid semantic + keyword search. Returns relevant chunks with relevance scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kb_nameYesKnowledge base name
questionYesSearch query
limitNoMax results (default: 10)
alphaNoHybrid alpha: 0=keyword, 1=semantic, 0.5=balanced (default: 0.5)
min_relevanceNoMin relevance score 0-1 (default: 0)
metadata_filterNoMetadata field filters as key-value pairs
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the hybrid search method and return format ('relevant chunks with relevance scores'), but omits details like rate limits, authentication needs, or error handling. It adds some value but leaves gaps for a search tool.

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

Conciseness5/5

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

The description is highly concise and front-loaded in a single sentence, with zero wasted words. It efficiently communicates the core functionality and output, making it easy for an agent to quickly understand the tool's purpose.

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

Completeness3/5

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

Given the tool's moderate complexity (6 parameters, hybrid search) and no output schema, the description is partially complete. It covers the search method and return format but lacks details on output structure (e.g., chunk format, score ranges) and behavioral aspects like performance or limitations, leaving room for improvement.

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%, so the schema fully documents all 6 parameters. The description adds no additional parameter semantics beyond what the schema provides, such as explaining the 'hybrid' aspect in more detail or clarifying 'chunks'. Baseline 3 is appropriate when the schema handles parameter documentation.

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?

The description clearly states the tool's purpose with specific verbs ('Search a knowledge base') and method ('using hybrid semantic + keyword search'), and distinguishes it from siblings like 'list_knowledge_bases' or 'insert_kb' by focusing on search functionality rather than listing or creation.

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

Usage Guidelines3/5

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

The description implies usage for retrieving relevant information from a knowledge base, but provides no explicit guidance on when to use this tool versus alternatives like 'query' or 'describe'. It lacks context on exclusions or prerequisites, leaving usage decisions to inference.

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/nikhgupta/mindsdb-mysql-mcp'

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