Skip to main content
Glama

build_range_from_scratch

Create custom cyber range configurations with full control over virtual machines, network rules, and security monitoring for pentesting labs and security research.

Instructions

Build a completely custom range configuration from scratch.

This tool allows you to create a range configuration with full control over every VM and network rule, not based on any existing scenario.

Args: vms: List of VM configurations (each with vm_name, hostname, template, vlan, ip_last_octet, ram_gb, cpus) network_rules: Optional list of network rules inter_vlan_default: Default inter-VLAN policy ("REJECT" or "ACCEPT") include_siem: Whether to automatically add a SIEM server siem_type: SIEM type if include_siem is True

Returns: Complete range configuration ready for deployment

Example: # Build a custom 3-VM pentesting lab from scratch vms = [ { "vm_name": "target-web-server", "hostname": "web01", "template": "ubuntu-22.04-template", "vlan": 10, "ip_last_octet": 10, "ram_gb": 4, "cpus": 2 }, { "vm_name": "target-database", "hostname": "db01", "template": "ubuntu-22.04-template", "vlan": 10, "ip_last_octet": 11, "ram_gb": 8, "cpus": 4 }, { "vm_name": "attacker-kali", "hostname": "kali", "template": "kali-x64-desktop-template", "vlan": 99, "ip_last_octet": 1, "ram_gb": 8, "cpus": 4 } ]

network_rules = [
    {
        "name": "Allow attacker to targets",
        "vlan_src": 99,
        "vlan_dst": 10,
        "protocol": "all",
        "ports": "all",
        "action": "ACCEPT"
    }
]

result = await build_range_from_scratch(
    vms=vms,
    network_rules=network_rules,
    include_siem=True,
    siem_type="wazuh"
)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmsYes
network_rulesNo
inter_vlan_defaultNoREJECT
include_siemNo
siem_typeNowazuh
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a creation tool ('Build a completely custom range configuration'), which implies it's a write operation, but doesn't mention permissions, side effects, or what 'ready for deployment' entails. The example adds some context about the output format, but key behavioral aspects like whether this creates persistent resources or requires follow-up deployment are unclear.

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?

The description is well-structured with a clear purpose statement, parameter explanations, return value description, and a comprehensive example. While somewhat lengthy due to the detailed example, every section adds value. The information is front-loaded with the core purpose and parameters explained before the example.

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

Completeness4/5

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

Given the complexity (5 parameters with 0% schema coverage, no annotations, no output schema), the description does an excellent job of explaining the tool. It covers purpose, parameters, and provides a detailed example. The main gap is lack of behavioral context about what happens after configuration creation (deployment implications, resource allocation, etc.), but for a configuration-building tool, this is reasonably complete.

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

Parameters5/5

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

With 0% schema description coverage and 5 parameters, the description provides excellent parameter semantics. It clearly explains what each parameter means: 'vms: List of VM configurations (each with vm_name, hostname, template, vlan, ip_last_octet, ram_gb, cpus)', 'network_rules: Optional list of network rules', 'inter_vlan_default: Default inter-VLAN policy', 'include_siem: Whether to automatically add a SIEM server', and 'siem_type: SIEM type if include_siem is True'. The example further illustrates the structure and usage.

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?

The description clearly states the tool's purpose: 'Build a completely custom range configuration from scratch' with 'full control over every VM and network rule, not based on any existing scenario.' It specifically distinguishes this from sibling tools like 'build_range_from_description', 'build_range_from_prompt', and 'build_range_from_skeleton' which appear to build from existing configurations or templates.

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?

The description provides clear context for when to use this tool: when you need 'full control over every VM and network rule' and don't want to base it on 'any existing scenario.' However, it doesn't explicitly state when NOT to use it or name specific alternatives among the many sibling tools, though the distinction from other 'build_range_from_*' tools is implied.

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/tjnull/Ludus-FastMCP'

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