Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

delete_environment

DestructiveIdempotent

Permanently removes a specified Semaphore UI environment from a project by its project ID and environment ID, deleting the configuration so it can no longer be used in templates or tasks.

Instructions

Removes environment. DELETE /project/{project_id}/environment/{environment_id}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
environment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered structurally. The description adds nothing beyond the name and endpoint path — no mention of what happens to dependent resources (references, templates bound to the environment) or whether deletion is permanent.

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, front-loaded sentences with no filler. It is efficient, though the second sentence (REST path) is essentially a restatement of transport rather than added value.

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

Completeness2/5

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

For a destructive, non-reversible-by-design operation with zero parameter documentation and no output schema, the description is too thin. It leaves out cascade behavior, prerequisites, and confirmation expectations an agent needs before invoking a delete.

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?

Schema description coverage is 0%, so the description carries the burden, yet it only embeds the two parameters in a URL template. It adds no meaning about what project_id vs environment_id identify, nor validation or scoping constraints beyond type/minimum in 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?

States a specific verb ('Removes') and resource ('environment'), which is unambiguous about the operation. It does not differentiate from siblings such as delete_project or update_environment, but the core purpose is clear without opening the schema.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives (update_environment, delete_project, or the get_environment_references tool that could inform deletion safety). The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools