Skip to main content
Glama
ttpears

GitLab MCP Server

by ttpears

Create Broadcast Message

create_broadcast_message

Need to notify GitLab users? Create broadcast messages with custom text, schedule, colors, and targeting using admin privileges.

Instructions

Create a GitLab broadcast message. Requires administrator privileges on the GitLab instance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage text to display
starts_atNoISO 8601 timestamp when the message starts
ends_atNoISO 8601 timestamp when the message ends
colorNoBackground color in hex format, e.g. "#E75E40"
fontNoForeground (font) color in hex format
target_access_levelsNoAccess levels to target: 10=Guest, 20=Reporter, 30=Developer, 40=Maintainer, 50=Owner
target_pathNoPath glob for pages where the message should appear
broadcast_typeNoBroadcast type: "banner" or "notification"
dismissableNoWhether users can dismiss the broadcast message
themeNoTheme name (GitLab 16.9+), e.g. "indigo", "red"
userCredentialsNoYour GitLab credentials (optional — falls back to the configured env token if not provided)
Behavior1/5

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

Annotations are all false (readOnlyHint, destructiveHint, idempotentHint), yet the description adds no behavioral details beyond admin requirement. Does not disclose idempotency, side effects, or return behavior, leaving the agent uninformed.

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

Conciseness5/5

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

Two concise sentences: one for purpose, one for prerequisite. Front-loaded and efficient with no extraneous text.

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?

Despite well-documented schema, the description omits return value, error handling, and any behavioral context for a creation tool with 11 parameters. Unusual userCredentials field is not explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds no extra parameter meaning beyond what the schema already provides; it does not mention any parameters.

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

Purpose5/5

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

Clearly states 'Create a GitLab broadcast message' with a specific verb and resource. Mentions required admin privileges, effectively differentiating it from sibling tools like delete, update, list, and get.

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?

Only notes 'Requires administrator privileges,' which is a prerequisite but lacks guidance on when to use this tool versus alternatives (e.g., update_broadcast_message). No explicit when/when-not context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ttpears/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server