Skip to main content
Glama

Create Knowledge Base

create_knowledge_base

Create the workspace's knowledge base. The slug becomes its public address ({slug}.vidocu.help), so pick carefully — 409 if the workspace already has one or the slug is taken. Requires the Knowledge Center add-on.

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": {
      "name": "<name>",
      "slug": "<slug>"
    },
    "name": "create_knowledge_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
slugYesLowercase letters, numbers and hyphens — becomes the public subdomain
defaultLocaleNo

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
nameNo
slugNo
tagsNo
accessNo
visibilityNo
defaultLocaleNo
enabledLocalesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) the description adds real operational context: a prerequisite add-on, the two 409 conflict conditions, and the warning that the slug is publicly exposed and hard to change. It does not state whether the slug can ever be changed afterwards or what the conflict response body looks like, and an output schema exists so return format needs no prose.

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 tight sentences: purpose first, the high-stakes slug consequence second, the failure and prerequisite conditions last. Every clause carries decision-relevant information with no filler.

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 3-parameter create tool with annotations and an output schema, the description covers purpose, the risky parameter, conflict behavior, and the add-on prerequisite. The remaining gap is the unmentioned defaultLocale and whether slug is immutable post-creation, which are minor against the rest.

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 coverage is only 33%, so the description carries some burden: it explains what slug actually does (becomes {slug}.vidocu.help) and why it matters, complementing the schema's format note. It says nothing about name or defaultLocale, leaving a third of the parameters undocumented in both places — adequate, not compensating for the gap.

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?

A specific verb and resource ("Create the workspace's knowledge base") with the important scope constraint that there is one per workspace, which distinguishes it from get/update/delete_knowledge_base without naming them. It stops short of explicitly naming the sibling to use instead, but the resource and scope are unambiguous.

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?

Gives concrete call conditions: requires the Knowledge Center add-on, and returns 409 if the workspace already has a KB or the slug is taken — which implicitly tells the agent to reach for update_knowledge_base in the first case. There is no explicit "use X instead when Y" routing, so it is clear context rather than full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources