Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

create_terraform_alias

Destructive

Creates a Terraform alias for a specific project inventory using an auth key, enabling Terraform integration within Semaphore UI.

Instructions

create terraform alias. Availability depends on Semaphore edition, license, and permissions; some Community routes return 404 or empty lists. POST /project/{project_id}/inventory/{inventory_id}/terraform/aliases. Supply API fields in body; JSON-encoded string fields must remain strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
project_idYes
inventory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior4/5

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

Annotations already declare the write/safety profile, and the description adds genuinely non-obvious context: edition/license/permission gating, that some Community routes silently return 404 or empty lists, and that JSON-encoded string fields must stay strings. That is real behavioral value beyond the annotations, though it says nothing about the effect of creation or what a successful response looks like.

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?

Short and front-loaded, but telegraphic fragments ('create terraform alias.', 'Supply API fields in body') and a raw endpoint path that partly duplicates the schema. Efficient in size, weak in readability.

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 zero schema coverage, the description is the only documentation, and it omits the required body field, the meaning of each body property, and the result of the call. The availability caveat is useful but insufficient for a mutation tool with a nested required body.

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% across 3 parameters (including a nested body with four properties), so the description must carry the load. It only implies project_id/inventory_id via the URL template and waves at the body generically; the required auth_key_id and the optional alias/project_id/inventory_id body fields are never mentioned.

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?

States the verb and resource ('create terraform alias') and gives the concrete endpoint path, so the resource is identifiable. But it never explains what a terraform alias actually is (a mapping between a Terraform state and an auth key/inventory), so an agent unfamiliar with the domain gets only a name restatement plus a URL.

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?

No guidance on when to use this versus update_terraform_alias, delete_terraform_alias, or list_terraform_aliases, and no prerequisites beyond a vague 'depends on edition, license, and permissions'. The 404/empty-list note describes route availability, not usage selection.

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