Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

get_environment_references

Read-onlyIdempotent

Retrieves all references linked to a specified Semaphore UI environment in a project, helping you inspect where that environment is used before changes.

Instructions

Get Environment Refs. GET /project/{project_id}/environment/{environment_id}/refs.

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, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered structurally. Beyond that the description adds nothing — not what 'refs' contain, whether results are paginated, or why the endpoint is 'open world' (unbounded returned items), leaving the annotations to carry all behavioral meaning.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is two short sentences with no padding, but the brevity comes at the cost of under-specification rather than efficiency; the endpoint restatement earns little place in a tool description.

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?

There is no output schema and no explanation of what a reference is or what shape the response takes, so an agent cannot anticipate the return value. For a tool with zero parameter documentation, this description is too thin to be complete.

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 neither parameter is documented in the schema, and the description only repeats the path template showing project_id and environment_id are path identifiers. It adds no format, type, or constraint detail beyond that.

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 states a verb+resource ('Get Environment Refs') and gives the REST endpoint, so the agent knows it retrieves reference data for an environment. However, 'refs' is undefined and the definition never distinguishes it from siblings such as get_environment or get_inventory_references, which could easily be confused with it.

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 call this versus get_environment or the other *_references tools; the only content is a restated endpoint path. 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