Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

update_environment

DestructiveIdempotent

Updates a Semaphore UI environment by project and environment ID, applying supplied name, variables, secrets, and synchronization settings through the management API.

Instructions

Update environment. PUT /project/{project_id}/environment/{environment_id}. Supply API fields in body; JSON-encoded string fields must remain strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
project_idYes
environment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

The PUT endpoint description implies full-replacement semantics, which adds real meaning on top of the annotations' destructive/idempotent flags, and the note about JSON-encoded string fields is a genuine behavioral quirk. However, it never states what is lost when fields are omitted (e.g. whether secrets or sync settings are wiped), which is the key concern for a destructive mutation.

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 endpoint, with no filler. It is efficiently sized, though the endpoint restatement occupies space that could have carried payload guidance.

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, open-world mutation with a 12-field body, nested secret objects, and no output schema, the description leaves far too much unspecified. An agent cannot tell how the secrets operation enum behaves or whether omitted fields are cleared, which matters a lot given destructiveHint=true.

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% and the body has twelve properties including a nested secrets array with create/update/delete operations, none of which are explained. The one hint — that JSON-encoded string fields must remain strings — points at the json/env distinction but doesn't compensate for an otherwise undocumented payload.

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 specific verb and resource ("Update environment") plus the exact endpoint PUT /project/{project_id}/environment/{environment_id}, so the agent knows precisely which resource is mutated. It doesn't explicitly differentiate from siblings like create_environment or sync_environment, but the verb makes intent unambiguous.

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 create_environment, sync_environment, or update_secret_storage, nor any stated prerequisites or permissions. The only usage-like instruction is procedural ("Supply API fields in body"), not a routing rule.

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