Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

get_environment

Read-onlyIdempotent

Retrieve a specific Semaphore UI environment by project ID and environment ID to inspect its configuration before running automation tasks.

Instructions

Get environment. GET /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.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds only the URL route, saying nothing about what happens on a missing/invalid ID, whether the response is cached, or what the resource contains.

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 terse sentences with zero filler and the core purpose front-loaded. It is efficient, though the second sentence spends space on an HTTP route rather than information more useful to an agent.

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?

With no output schema and 0% parameter coverage, the description should describe the returned environment shape and failure modes; instead it stops at the route. For a two-required-parameter retrieval tool with rich annotations, this leaves real gaps.

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 both required integer parameters are undocumented beyond type and minimum 1. The description only reveals that the two IDs are path segments, which hints that environment_id is scoped under project_id, but adds no semantics about valid ranges, behavior on nonexistent IDs, or relationship between the two.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb (Get) and resource (environment) and appends the HTTP path, which confirms this retrieves a single environment scoped to a project. However, it is essentially a restatement of the tool name plus a route, and it never distinguishes itself from siblings like list_environments or get_environment_references.

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 list_environments (discovery) or get_environment_references (dependency lookup), nor any prerequisite or precondition noted. The agent must infer usage from the name alone.

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