Skip to main content
Glama

knowledge_create

Create a knowledge base with a unique key, type, and embedding model to organize project knowledge for agents and conversations.

Instructions

Create a knowledge base

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": {
      "key": "<key>"
    },
    "name": "knowledge_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesUnique key
pathNoProject pathExample
typeNoKnowledge base type. Default: internalinternal
descriptionNoDescription
display_nameNoDisplay name
embedding_modelNoEmbedding model (REQUIRED)openai/text-embedding-3-small

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure. It only implies a create/mutation operation; it does not state permission requirements, duplicate-key behavior, idempotency, or what a successful creation returns.

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

Conciseness3/5

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

The description is a single short sentence with no wasted words and is front-loaded. Its brevity, however, reflects under-specification rather than efficient communication for a six-parameter creation tool.

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

Completeness2/5

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

For a creation/mutation tool with six parameters, no annotations, and no output schema, the definition is far too sparse. It leaves important context about required inputs like the embedding model and required key, as well as post-creation behavior, undocumented in prose.

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 all six parameters are already documented in the input schema, including defaults and the required key. The description adds no additional parameter meaning, which fits the baseline of 3 when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a knowledge base" states a specific verb and resource, so an agent can tell it creates the top-level knowledge object. However, it is essentially a restatement of the tool name and does not distinguish it from sibling creation tools such as knowledge_create_datasource or knowledge_create_chunks.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives, nor any prerequisites such as whether a project path must already exist. The agent must infer its role entirely from the name and schema.

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