Skip to main content
Glama

Create Namespace

create_namespace

Creates a namespace for entities and relations so memory tools have a valid scope; reuse an existing namespace instead of recreating one.

Instructions

Create a namespace, which is where entities and relations live: every other tool takes the namespace to work in, and it must exist. Fails if a namespace of that name already exists, so reuse the existing one (see list_namespaces) rather than creating it again. Names are case-sensitive.

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": {
      "namespace": "<namespace>"
    },
    "name": "create_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYesThe name of the namespace to create

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent write. The description adds real behavioral detail beyond them: the call errors on a duplicate name and names are case-sensitive, which an agent cannot infer from the annotations. It does not discuss permissions or what the response contains, but an output schema exists to cover returns.

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 and role first, failure/reuse behavior second, naming caveat last. No filler and no redundancy with the schema or annotations.

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 one-parameter creation tool with annotations and an output schema, the description covers everything an agent needs: what it makes, why the object matters, when it will fail, and how to avoid the failure. Nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100% with a single documented namespace parameter, so the baseline is 3. The description earns above baseline by adding a constraint the schema omits — that namespace names are case-sensitive, which affects how an agent should check for collisions before calling.

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 and resource (create a namespace) and immediately defines what a namespace is functionally — the container where entities and relations live that every other tool requires. That framing lets an agent distinguish it from sibling operations like list_namespaces or rename_namespace without opening a schema.

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

Usage Guidelines5/5

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

Explicitly states the failure condition (name already exists) and redirects to a named alternative (list_namespaces) for the reuse path, which functions as a clear when-not-to-use rule. The dependency note that the namespace 'must exist' before other tools work also gives the agent ordering guidance.

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