Skip to main content
Glama
peterbeck111

knowledgelib-mcp

query_knowledge

Read-onlyIdempotent

Search 1,500+ verified, cited knowledge units across 16 domains to retrieve relevant answers with confidence scores, source metadata, and domain filtering.

Instructions

STEP 1: Search across all knowledgelib.io knowledge units. Returns matching units ranked by relevance with metadata (confidence scores, source counts, token estimates). If no results are found, use suggest_question to request the topic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query (e.g., "best wireless earbuds under 150")
domainNoFilter by domain (e.g., "consumer_electronics", "computing", "home", "fitness", "software")
regionNoFilter by region (e.g., "US", "EU", "global"). Units with region "global" always match.
jurisdictionNoFilter by jurisdiction (e.g., "US", "EU", "UK", "global"). Relevant for energy, legal, compliance content.
entity_typeNoFilter by entity type (e.g., "product_comparison", "software_reference", "fact", "concept", "rule")
limitNoMax results to return (default: 3)
Behavior4/5

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

Annotations declare read-only/idempotent/open-world properties, so description focuses on adding return structure details ('ranked by relevance', 'confidence scores, source counts, token estimates') and workflow sequence. Does not contradict annotations.

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?

Three tightly constructed sentences with zero waste: workflow position and action, return format specification, and error-handling guidance. Front-loaded with the critical 'STEP 1' designation.

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?

Despite lacking an output schema, the description compensates by detailing the return metadata structure. Combined with 100% input schema coverage and complete annotations, this provides sufficient context for a search tool, though it could explicitly highlight the filtering capabilities (domain, region, jurisdiction) present in the schema.

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%, providing complete documentation for all 6 parameters (query, domain, region, jurisdiction, entity_type, limit). Description implies the query parameter through the search verb but adds no syntax details beyond the schema, warranting the baseline score of 3.

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?

Specific verb ('Search') + resource ('knowledgelib.io knowledge units') combination clearly defines the scope. Explicitly distinguishes from sibling 'suggest_question' by stating when to use that alternative instead.

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?

Provides explicit workflow positioning ('STEP 1') and clear fallback instruction ('If no results are found, use suggest_question'). Names the specific alternative tool to invoke in failure cases.

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/peterbeck111/knowledgelib-io'

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