Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

create_project_role

Destructive

Creates a project role in Semaphore UI by submitting slug, name, and permissions for a specified project; use it to define role-based access within a project.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds value beyond that with edition/license gating and the 404/empty-list caveat on Community routes, plus the instruction that JSON-encoded string fields must remain strings. It still doesn't state exactly what gets created or whether retries are safe.

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 immediately followed by the eligibility caveat and endpoint. No filler, though the endpoint string adds little beyond what a client already knows and the body hint is compressed to the point of ambiguity.

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

Completeness3/5

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

For a destructive mutation with no output schema and a nested body at 0% schema coverage, the description covers availability and endpoint but leaves the body contract underspecified. An agent knows it may 404 on Community but not what a valid permissions value or slug format looks like.

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 full burden for two required parameters, including a nested body with slug, name, permissions, and a redundant project_id. It only says 'Supply API fields in body; JSON-encoded string fields must remain strings,' which says nothing about what slug vs name mean or what the integer permissions value encodes.

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 opens with a specific verb+resource ('create project role') and names the endpoint POST /project/{project_id}/roles, so an agent can distinguish it from update_project_role, delete_project_role, and list_project_roles. It stops short of explicitly naming siblings, but the CRUD prefix makes the distinction self-evident.

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

Usage Guidelines3/5

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

The description adds real eligibility context ('Availability depends on Semaphore edition, license, and permissions; some Community routes return 404 or empty lists'), which helps the agent decide whether calling is even viable. However, it never states when to prefer this over update_project_role or create_global_role, and gives no prerequisite/ordering guidance.

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