Skip to main content
Glama

Delete environment

remove_unified_environment
DestructiveIdempotent

Delete an environment by its ID from the connected account. Requires id. Permanently removes the record and cannot be undone. To search or list environments, use list_unified_environments.

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": {
      "id": "<id>"
    },
    "name": "remove_unified_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the environment to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / minLength
      Added value: +1
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's main contribution is spelling out that removal is permanent and irreversible, plus account scoping. That is useful reinforcement but adds nothing about side effects on dependent objects or auth requirements, keeping it below a 5.

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?

Four short, front-loaded sentences; the destructive consequence and the sibling pointer come early. 'Requires `id`' duplicates the schema's required field and is the one sentence that does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter delete tool with explicit destructive/idempotent annotations and no output schema, the definition covers everything an agent needs: what is removed, by what key, that it is irreversible, and where to go for listing instead.

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% for the single `id` parameter, so the schema already defines it fully. The description's 'by its ID' and 'Requires `id`' restate rather than extend that meaning, landing at the baseline for fully documented parameters.

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?

The description opens with a specific verb and resource ('Delete an environment by its ID') and scopes it to the connected account, which clearly separates it from the sibling list_unified_environments and create_unified_environment.

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 explicitly routes searching/listing to `list_unified_environments`, giving the agent a concrete alternative. It does not state when deletion should be avoided (e.g. only after confirmation or after removing dependent resources), so guidance is clear but not exhaustive.

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