W

webmcp-rocketlauncher

WebMCP rocket launch sequence demo (static & dynamic tool registration)

2read
5write
1action
https://bandarra.me/apps/webmcp-rocketlauncher/

demo · Playgrounds & Games · JSON · API for agents

Tools 8 tools

get_page_stateread

Returns the current rocket state (status and fuel level). If the user asks to launch a rocket, automatically execute this step first without asking for confirmation.

View tool JSON
{
  "name": "get_page_state",
  "kind": "read",
  "impl": "imperative",
  "description": "Returns the current rocket state (status and fuel level). If the user asks to launch a rocket, automatically execute this step first without asking for confirmation.",
  "inputSchema": {
    "type": "object",
    "properties": {}
  }
}
calculate_fuelread

Calculates the required fuel amount and oxidizer ratio based on the target trajectory.

View tool JSON
{
  "name": "calculate_fuel",
  "kind": "read",
  "impl": "imperative",
  "description": "Calculates the required fuel amount and oxidizer ratio based on the target trajectory.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "trajectory": {
        "type": "string",
        "description": "Launch destination, e.g. \"Moon\", \"Mars\", \"ISS\"."
      }
    },
    "required": [
      "trajectory"
    ]
  }
}
run_diagnosticswrite

Runs system checks. Transitions from IDLE to DIAGNOSTICS. Only valid when status is IDLE.

View tool JSON
{
  "name": "run_diagnostics",
  "kind": "write",
  "impl": "imperative",
  "description": "Runs system checks. Transitions from IDLE to DIAGNOSTICS. Only valid when status is IDLE.",
  "inputSchema": {
    "type": "object",
    "properties": {}
  }
}
load_fuelwrite

Loads propellants. Transitions from DIAGNOSTICS to FUELED. Only valid when status is DIAGNOSTICS.

View tool JSON
{
  "name": "load_fuel",
  "kind": "write",
  "impl": "imperative",
  "description": "Loads propellants. Transitions from DIAGNOSTICS to FUELED. Only valid when status is DIAGNOSTICS.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "amount": {
        "type": "number",
        "description": "Fuel amount in tons."
      },
      "oxidizer_ratio": {
        "type": "number",
        "description": "Oxidizer ratio (e.g., 2.5)."
      }
    },
    "required": [
      "amount",
      "oxidizer_ratio"
    ]
  }
}
prepare_launchwrite

Transitions the system from FUELED to PREPARED. Requires the user's 4-digit auth_code — ask the user, never guess it. Only valid when status is FUELED.

View tool JSON
{
  "name": "prepare_launch",
  "kind": "write",
  "impl": "imperative",
  "description": "Transitions the system from FUELED to PREPARED. Requires the user's 4-digit auth_code — ask the user, never guess it. Only valid when status is FUELED.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "auth_code": {
        "type": "string",
        "description": "4-digit authorization code. Must be obtained from the user."
      },
      "trajectory": {
        "type": "string",
        "description": "Launch destination, e.g. \"Moon\" or \"Mars\"."
      }
    },
    "required": [
      "auth_code",
      "trajectory"
    ]
  }
}
ignite_enginesaction

Fires the rocket engines, transitioning from PREPARED to LAUNCHED. Only valid when status is PREPARED — follow the full prerequisite chain first.

View tool JSON
{
  "name": "ignite_engines",
  "kind": "action",
  "impl": "imperative",
  "description": "Fires the rocket engines, transitioning from PREPARED to LAUNCHED. Only valid when status is PREPARED — follow the full prerequisite chain first.",
  "inputSchema": {
    "type": "object",
    "properties": {}
  }
}
abort_sequencewrite

Aborts the sequence and resets to IDLE. Valid from any state during the sequence.

View tool JSON
{
  "name": "abort_sequence",
  "kind": "write",
  "impl": "imperative",
  "description": "Aborts the sequence and resets to IDLE. Valid from any state during the sequence.",
  "inputSchema": {
    "type": "object",
    "properties": {}
  }
}
reset_systemwrite

Resets the system to IDLE with full fuel. Valid from any state.

View tool JSON
{
  "name": "reset_system",
  "kind": "write",
  "impl": "imperative",
  "description": "Resets the system to IDLE with full fuel. Valid from any state.",
  "inputSchema": {
    "type": "object",
    "properties": {}
  }
}