Skip to main content
Glama

Create environment

create_environment

Add an environment (staging, qa, ...) to a project. Requires projects:write and the editor role.

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

Input Schema

NameRequiredDescriptionDefault
kindNocustom
nameYes
slugNoDerived from the name when omitted
projectYesProject slug or id

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare this is a non-readOnly, non-destructive, non-idempotent write to a closed world; the description's added value is the auth/scope requirement, which annotations do not carry. It stays silent on what happens on a duplicate name (relevant given idempotentHint=false) and on whether the created environment is returned.

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?

Two short sentences, front-loaded with the action and scope, followed by the prerequisite. No filler or redundancy.

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?

There is no output schema, so the description should say at least something about the result or about failure modes such as an existing slug; it doesn't. Prerequisites are covered and annotations carry the safety profile, but for a 4-parameter mutation the definition is only minimally complete.

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

Parameters2/5

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

With only 50% schema description coverage, the description should compensate but largely doesn't: 'staging, qa' illustrates the name parameter and 'to a project' clarifies the parent, while kind, slug, and project identifier format are left entirely to the schema. The added meaning is marginal.

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 gives a concrete verb and resource ('Add an environment ... to a project') with illustrative names (staging, qa), so the agent knows exactly what gets created and where. It implicitly separates the tool from copy_environment and import_env by framing it as creating a new environment in a project, but never names a sibling outright.

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?

It states a real precondition ('Requires projects:write and the editor role'), which tells the agent when the call will succeed. It offers no guidance on when to prefer this over copy_environment or import_env, and no when-not conditions, so usage is only partially framed.

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