Skip to main content
Glama
johsem

Semaphore UI MCP server

by johsem

create_api_token

Destructive

Creates an API token for a Semaphore UI user, letting you set a token name and optional expiration date for API access.

Instructions

Create an API token. POST /user/tokens. Supply API fields in body; JSON-encoded string fields must remain strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/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 only the endpoint and a cryptic note about JSON-encoded string fields; it omits critical token-creation behavior such as whether the token value is returned once and never retrievable again, what permissions the token gets, and how expires_at defaults are handled.

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 short and front-loads the purpose and endpoint, which is good. The third sentence about JSON-encoded string fields is opaque and arguably does not earn its place without explaining which fields it refers to.

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 credential-minting, destructive-flagged operation with no output schema and an undocumented nested body, the description is too thin. An agent cannot tell from it what the response will contain (presumably the token) or how to safely handle the one-time secret.

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 single parameter is a nested body object with 'name' and 'expires_at'. The description only says 'Supply API fields in body', which merely restates the schema, and never explains name requirements/uniqueness or expires_at format and omission behavior. The trailing note about JSON-encoded string fields is confusing rather than clarifying.

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 states a specific verb and resource ('Create an API token') and even gives the HTTP endpoint, so the action is unambiguous. However, it does nothing to distinguish this from siblings like create_access_key or list_api_tokens/delete_api_token, which an agent must choose between.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as create_access_key. The endpoint reference is not usage 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