Skip to main content
Glama

create_workspace

Create a workspace in the organization, with its own data, keys and usage line on the organization's bill. Needs an organization key or an organization admin; act in it with an organization key at /mcp/<workspace_id>, or with a key created for it in the dashboard.

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
nameYesWhat it's for, such as "Staging" or "Acme", 1 to 64 characters.
regionNoIts home region, where its data lives and its renders run, which can't change later: `us-east`, the default.

Output Schema

NameRequiredDescriptionDefault
idYes`ws_…`; it starts with its region's code, such as `ws_use_…` for `us-east`.
nameYesWhat it's for, such as "Production" or "Acme".
regionYesIts home region, where its data lives and its renders run.
statusYes`deleting` once it's deleted, until it's purged or restored.
purge_atNoWhen a deleted workspace is purged, with everything in it (RFC 3339); absent unless it's `deleting`.
created_atYesRFC 3339.
key_prefixYesWhat its API keys start with: `sk_live_`, `sk_test_` or `sk_`.
organization_idYesThe organization it belongs to, `org_…`.
rate_limit_per_minuteYesRequests per minute its keys may make, together.
monthly_spend_cap_centsNoThe most its billable work may cost per calendar month, in USD cents; none when absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, so the safety profile is covered. The description adds genuinely useful context beyond that: billing impact (a usage line on the organization's bill) and the authorization requirement. It does not cover creation latency, quotas, or what happens to the workspace on failure.

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?

One front-loaded sentence covering what is created, what it owns, and what access is needed, followed by the access path. Dense but every clause earns its place; the second half is slightly run-on.

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?

With annotations and an output schema present, the description still supplies the missing operator-critical facts: required authorization and how to target the new workspace afterwards. Only secondary details like propagation delay or duplicate-name behavior are absent.

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 100%: name documents its purpose and 1-64 character limit, and region documents the us-east default and its immutability. The description adds nothing about parameters, so the baseline 3 applies since the schema carries the burden.

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?

States a specific verb and resource ("Create a workspace in the organization") and adds distinguishing scope: its own data, keys, and a separate usage line on the bill. That scope separates it from sibling operations like get_workspace or update_workspace, though no sibling is named explicitly.

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 prerequisites (organization key or organization admin) and explains how to subsequently use the new workspace at /mcp/<workspace_id> or with a dashboard-created key. It stops short of saying when to create a workspace versus other containers such as a project, so no explicit exclusions are offered.

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