Skip to main content
Glama

create_environment

Create a new workspace environment with initial key-value variables, or add a sub-environment under a base environment by specifying its parent ID.

Instructions

Create a new environment for a workspace. Sub-environments should have a base environment as their parentId.

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": {
      "parent_id": "<parent_id>",
      "name": "<name>"
    },
    "name": "create_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoInitial key-value variable pairs
nameYesEnvironment name, e.g. 'Production' or 'Local'
parent_idYesWorkspace ID (for base env) or base environment ID (for sub-env)
is_privateNoMark as private (not synced)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about permissions required, whether the new environment becomes active, how private environments differ in sync behavior, or what happens on duplicate names. The only behavior mentioned is the parent/child relationship rule.

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?

Two short sentences, front-loaded with the core action, with no filler. The second sentence is a focused constraint rather than padding.

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 simple creation tool with four well-documented parameters and no output schema, the description is adequate but not complete; it omits what is returned (e.g. the new environment's ID) and doesn't describe any post-creation side effects an agent might rely on.

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%, so the schema already documents name, data, parent_id and is_private. The description's parentId hint is useful but largely repeats the schema's own description of parent_id ('Workspace ID (for base env) or base environment ID (for sub-env)'), adding little new meaning.

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 new environment') and scopes it to a workspace. It does not name or contrast with siblings such as create_workspace or update_environment, so differentiation is only partial.

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

Usage Guidelines3/5

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

The second sentence gives conditional guidance for the sub-environment case (use a base environment as parentId), but there is no guidance on when to prefer this over update_environment, create_workspace, or set_active_environment, and no prerequisites are stated.

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