Skip to main content
Glama

generate_vm

Generate Azure Virtual Machine Bicep template with NIC, NSG, public IP, and managed identity

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": {
      "name": "<name>",
      "vmSize": "<vmSize>",
      "location": "<location>"
    },
    "name": "generate_vm"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesVM name (3-15 chars, lowercase alphanumeric)
vmSizeYesVM SKU (e.g. Standard_B2s, Standard_D4s_v5)
osImageNoOS image (Ubuntu-22.04, Windows-Server-2022, RHEL-9)
locationYesAzure region (e.g. eastus, westeurope)
publicIpNoAttach a public IP (default true)
adminUsernameNoAdmin username for the VM

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations, so the description carries the full behavioral burden. It discloses which resources are included in the generated output, which is genuinely useful, but says nothing about whether a file is written to disk or code is returned, whether the output is validated/deployable, whether it is deterministic, or what side effects exist. For an unannotated tool this leaves significant gaps.

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?

A single front-loaded sentence with the verb first and the artifact composition immediately after. No filler, no restatement of the name.

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

Completeness3/5

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

Parameters are fully covered by the schema, but with no output schema and no annotations the description should say what the call actually returns (Bicep text vs. a file path) and whether the result is ready to deploy. Acceptable for orientation, insufficient for an agent to predict the result.

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 the schema already documents all six parameters including formats and examples. The description adds only one parameter-level hint — that the NSG/public IP are part of the output, aligning with the publicIp flag — and says nothing about osImage or adminUsername behavior. Baseline 3 applies.

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?

States a specific verb and artifact: 'Generate Azure Virtual Machine Bicep template', and enumerates the components bundled in (NIC, NSG, public IP, managed identity). That clearly separates it from the other generate_* siblings like generate_aks_cluster or generate_app_service, though it never explicitly contrasts with them.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance and no named alternative. Usage is only implied by the artifact described (you need an Azure VM Bicep template with networking and identity pre-wired), which is enough to orient an agent but not to route it confidently among the many generate_* siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.