Skip to main content
Glama
BunkerWeb MCP

BunkerWeb MCP

Official

Create service

create_service

Creates a BunkerWeb service from a server name with optional draft status and unprefixed settings, saving it to the database for later scheduler application.

Instructions

Create a service named by SERVER_NAME (first word becomes its ID) with optional unprefixed settings and a draft flag. Fails if the name or a server name is taken. Use update_service to change one. Saved to the database; the scheduler applies it later; this tool cannot confirm it is live.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server_name": "<server_name>"
    },
    "name": "create_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_draftNoCreate as an unpublished draft
variablesNoUnprefixed per-service setting names and values, e.g. {"USE_MODSECURITY": "yes"}
server_nameYesServer name; its first word becomes the service ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.7.0
    • changedInput schema / properties / is_draft / description
      Previous value: -"Create as draft"New value: +"Create as an unpublished draft"
    • changedInput schema / properties / server_name / description
      Previous value: -"Primary server name"New value: +"Server name; its first word becomes the service ID"
    • changedInput schema / properties / variables / description
      Previous value: -"Service variables"New value: +"Unprefixed per-service setting names and values, e.g. {\"USE_MODSECURITY\": \"yes\"}"
  2. Changed3 schema fields changedv0.5.0
    • addedInput schema / properties / is_draft / description
      Added value: +"Create as draft"
    • addedInput schema / properties / server_name / description
      Added value: +"Primary server name"
    • addedInput schema / properties / variables / description
      Added value: +"Service variables"
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: a uniqueness constraint that causes hard failure, the fact that the record is only persisted now while "the scheduler applies it later," and the explicit caveat that "this tool cannot confirm it is live." That asynchronous/eventual-consistency warning is exactly the kind of context an agent needs and that neither the schema nor the readOnly/destructive hints convey.

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?

Three dense sentences, front-loaded with the create action and the naming/ID rule, then the error condition, the sibling alternative, and the persistence caveat. No filler; every clause carries operational information.

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

Completeness5/5

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

For a non-idempotent, non-destructive mutation with no output schema, the description covers the failure mode, the eventual-consistency behavior, and the sibling used for modification. An agent knows how to call it and what it can and cannot verify afterwards.

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 all three parameters are already documented, including the naming rule and the "unprefixed" variables example. The description restates the first-word-becomes-ID rule and calls out the draft flag, which reinforces but adds little genuinely new meaning. Baseline 3 is appropriate.

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?

States a specific verb and resource ("Create a service") and immediately scopes it with the naming rule ("named by SERVER_NAME (first word becomes its ID)"). It explicitly distinguishes itself from update_service, so an agent can route between creation and modification without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear rule for the closest alternative: "Use update_service to change one." It also warns about the failure case (name or server name already taken). It stops short of advising when to set the draft flag versus publishing immediately, so guidance is strong but not exhaustive.

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