Skip to main content
Glama

Create workspace

create_workspace

Creates a sub-workspace under the account's main workspace (for example one per client, for an agency) and by default mints a read & write API key bound to it. The key's fullKey is returned exactly ONCE and cannot be retrieved again, so hand it to the user straight away; it never outlives the calling key. Must be called with the main workspace's key: sub-workspace keys are refused. Workspaces are a Professional-plan feature.

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_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the new workspace (1 to 60 characters)
generateApiKeyNoAlso mint a read & write API key for the new workspace. Defaults to true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare it non-read-only, non-destructive, non-idempotent; the description goes well beyond that. It discloses the default key minting, that fullKey is returned exactly ONCE and is unrecoverable afterward, that the key's lifetime is bounded by the calling key, the auth constraint, and plan gating — all the facts an agent needs to avoid a data-loss mistake.

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?

Three dense sentences, front-loaded with the action and its side effect, then the irreversible-key warning, then auth and plan constraints. Every sentence carries information, though the key-lifetime and once-only warnings could be tightened into one clause.

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 two-parameter mutation with no output schema, the description covers the critical risks: unrecoverable key, key scoping, authorization, and plan availability. It stops short of saying what the response contains when generateApiKey is false or how failures for non-Professional accounts surface.

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 name's length bounds and generateApiKey's default-to-true are already documented. The description reinforces the default behavior and ties generateApiKey to the once-only fullKey consequence, but adds no new syntax or edge-case semantics; baseline 3 applies.

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?

"Creates a sub-workspace under the account's main workspace" states a specific verb, resource, and parent scope, and the agency/client example makes the intent concrete. It also names the side effect (minting a read & write API key bound to the new workspace), which distinguishes it from a pure create call.

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?

It gives clear preconditions: the call must use the main workspace's key and sub-workspace keys are refused, plus the Professional-plan requirement. What it lacks is explicit routing to alternatives, e.g. that create_workspace_api_key is the way to add a key to an existing workspace rather than minting one here.

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