Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

agentKnowledgeBaseActions

Destructive

Manage an agent's knowledge-base files by attaching or detaching them with an action, agent ID, and file IDs, defining which resources the agent can reference.

Instructions

Attach knowledge-base files to an agent, or detach them.

Set action to pick what to do.

attach: Attach multiple knowledge-base files to an agent.

detach: Detach multiple knowledge-base files from an agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "agent_id": "<agent_id>",
      "file_ids": "<file_ids>"
    },
    "name": "agentKnowledgeBaseActions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do: attach, detach.
agent_idYesID of the agent to attach files to.
file_idsYesList of knowledge-base file IDs to attach.
when_to_useNoOnly for `attach`. Instruction to the agent on when to consult these files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: it does not warn that `detach` removes the association, does not say what happens to `when_to_use` on detach, and gives no idempotency or error behavior. For a destructive mutation, that is a meaningful gap even with annotations present.

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 with the core purpose, then short branch definitions. The bullet list partially repeats the opening sentence, but there is no filler and it is scannable.

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?

With four fully documented parameters and annotations covering destructiveness, an agent can call this correctly. What is missing is behavioral context unique to the operation – the effect of detach on existing associations or instructions – which the schema and annotations do not supply.

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 every parameter carries its own description, so the schema does the heavy lifting. The description only restates that `action` selects attach or detach and adds no format, constraint, or interaction detail (e.g., that `when_to_use` is ignored on detach).

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?

The first sentence names a specific verb pair (attach/detach) and a specific resource (knowledge-base files) scoped to an agent, which separates it from siblings like uploadKnowledgeBaseFile or deleteKnowledgeBaseFile. It stops short of explicitly naming an alternative or the boundary case, so it is clear but not maximally differentiated.

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?

"Set `action` to pick what to do" plus the two enum glosses implies when each branch applies, but there is no guidance on prerequisites (agent must exist, files must be uploaded first) and no statement of when to prefer this over manipulating the knowledge base directly.

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

Deploy Server

Other Tools