Skip to main content
Glama

environment_create

Adds preview or development alongside production. A new environment starts empty; it does not copy production data. Use database_branch for that, when you want a copy.

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": {
      "productId": "<productId>",
      "name": "<name>"
    },
    "name": "environment_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEnvironment within a Product. Every Product has production; preview and development are optional.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations declare a non-read-only, non-destructive, non-idempotent write, and the description adds genuinely new behavior: the new environment starts empty and does not copy production data. That is the most important surprise an agent could hit. It does not mention cost implications or that idempotency is not automatic for a create, despite annotations marking idempotentHint false.

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 short sentences, front-loaded with the action and the key data-copy caveat, with zero filler. The closing clause 'for that, when you want a copy' is mildly redundant with 'it does not copy production data', but it reinforces the routing.

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 five-parameter create tool with no output schema but fully documented parameters, the description covers the decisive behavioral fact (empty, no data copy) and the main alternative. It could go further on cost or on whether creation is reversible or deletable via environment_delete, but nothing critical is missing.

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%, with confirm, dry_run, idempotency_key and the name enum fully described in the schema itself, so the baseline of 3 applies. The description only implies the outcome of the name choice (empty environment) and adds no syntax or format detail beyond the schema.

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?

The description states a specific action and resource: it adds a preview or development environment alongside an existing production environment. An agent can distinguish it from data-copying tools, though the word 'environment' appears only implicitly ('Adds preview or development'), and creating an environment is left for the schema enum to confirm.

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 one explicit routing rule: if you want a copy of production data, use database_branch instead. That names an alternative and the condition selecting it. It stops short of full guidance — it never says when not to create an environment, or that production always exists and cannot be created 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