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.

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/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is largely covered. The description reinforces this with 'Permanently removes the record and cannot be undone,' which adds emphasis but not much new information, and it omits what happens to dependent resources (connections/webhooks) when an environment is deleted.

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?

Three short sentences, front-loaded with the action and resource, then the irreversibility warning, then the alternative-tool pointer. No filler or redundancy.

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 single-parameter delete tool with full annotation coverage and no output schema, the description supplies the essential context: what is deleted, that it is irreversible, and where the read alternative lives. It could be more complete by noting permission requirements or cascade effects on related resources.

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 description coverage is 100% and there is only one required parameter, so the schema already documents `id` fully. The description's 'Requires `id`' adds no format, source, or lookup guidance beyond the schema, matching the baseline 3 for schema-covered params.

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?

States a specific verb ('Delete') and resource ('an environment by its ID'), and explicitly contrasts itself with the read-side sibling `list_unified_environments`. An agent can distinguish it from `remove_unified_connection`, `remove_unified_secretsmanager`, and `remove_unified_webhook` purely by the resource named.

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?

Provides a clear when-not case: 'To search or list environments, use `list_unified_environments`.' However, it gives no guidance on prerequisites (permissions, dependencies) or on what to check before a destructive delete, so the routing advice is present but thin.

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