Skip to main content
Glama

Create knowledge base

create_vector_store

Create a new, empty vector store (knowledge base) in the org. Ingest files into it with ingest_file_to_store.

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>"
    },
    "name": "create_vector_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the knowledge base.
metadataNoOptional freeform metadata to store on it.
visibilityNoWho can see and manage it: 'org' (default — everyone in the organization) or 'private' (only you; nobody else, whatever their role). Agents it is attached to keep working for everyone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "Who can see and manage it: 'org' (default — everyone in the organization) or 'private' (only you; nobody else, whatever their role). Agents it is attached to keep working for everyone.",
      +  "enum": [
      +    "org",
      +    "private"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / metadata / description
      Added value: +"Optional freeform metadata to store on it."
    • addedInput schema / properties / name / description
      Added value: +"Display name for the knowledge base."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real context beyond that: the store starts empty and content must be ingested separately, which prevents an agent from assuming files are copied in. Omissions are permission requirements and whether a store ID is returned for later calls.

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?

Two short sentences: the first defines the created object and its scope, the second routes to the next step. Nothing is redundant and the core action is front-loaded.

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?

For a create tool with no output schema, the description never says what comes back (an ID? a handle?) that later calls like attach_vector_store or ingest_file_to_store would need. It also says nothing about naming collisions or org-level limits, leaving meaningful gaps for a state-changing tool.

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 the visibility enum is documented at length in the schema, so the description adds nothing about name, metadata, or visibility. Baseline 3 applies when the schema does all the parameter work.

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?

States a specific verb ('Create'), a precise resource ('vector store / knowledge base'), and a key qualifier ('new, empty') scoped to the org. The word 'empty' plus the pointer to ingest_file_to_store lets an agent distinguish this from a tool that also loads content.

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?

Explicitly names the follow-on action ('Ingest files into it with ingest_file_to_store'), so the create-then-ingest workflow is clear. It stops short of stating when to prefer this over alternatives (e.g. create_from_blueprint) or any preconditions such as naming conflicts.

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