Skip to main content
Glama
Neuratel-AI

Neuratel MCP Server

Official
by Neuratel-AI

attach_knowledge_to_agent

Connect knowledge bases to an agent to enable RAG-powered, grounded answers. Replaces all current attachments, so pass the complete list of knowledge base IDs.

Instructions

Connect knowledge bases to an agent for RAG-powered conversations.

Once attached, the agent automatically searches these knowledge bases when callers ask questions. The agent retrieves relevant chunks and uses them to give accurate, grounded answers instead of hallucinating.

This REPLACES all current attachments — pass the complete list of knowledge base IDs you want attached, not just new additions. To add a new KB without removing existing ones, include all current IDs plus the new one.

Multiple knowledge bases can be attached to the same agent. The system searches across all of them and returns the most relevant chunks regardless of which KB they came from.

Args: agent_id: The agent to connect knowledge to knowledge_base_ids: Complete list of KB IDs to attach

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
knowledge_base_idsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/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 of behavioral disclosure. It prominently warns 'This REPLACES all current attachments' and explains the multi-KB cross-search behavior, going well beyond a simple mutating action by disclosing destructive/replacement semantics and retrieval behavior.

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 appropriately sized and front-loaded with the purpose, then the critical replacement warning, retrieval behavior, and parameter semantics. Every sentence contributes operational value with no redundancy or filler.

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?

For a two-parameter tool with no annotations, this description fully equips an agent to select and invoke the tool correctly. It covers purpose, usage, parameter semantics, and the key behavioral gotcha (full replacement). The output schema handles return values, so no additional return-format explanation is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though the schema has zero property descriptions, the Args section adds meaningful semantic detail for both parameters. It clarifies that knowledge_base_ids must be the complete list of IDs, not just new additions, which is crucial for correct invocation.

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 opens with a specific verb 'Connect' and identifies the resource ('knowledge bases to an agent') and the purpose ('for RAG-powered conversations'). This clearly distinguishes it from sibling tools like add_knowledge_from_text or list_knowledge_bases, which handle knowledge creation and listing rather than attachment.

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?

It provides strong usage context: the agent will automatically search attached KBs when callers ask questions. It also includes the critical instruction that the operation REPLACES all current attachments and explains how to add without removing existing ones. However, it does not explicitly name alternatives or state when-not to use the tool, though no direct sibling does exactly this.

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/Neuratel-AI/neuratel-mcp'

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