Skip to main content
Glama

generate_iot_hub

Generate Azure IoT Hub Bicep — device-to-cloud + cloud-to-device messaging

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>",
      "location": "<location>"
    },
    "name": "generate_iot_hub"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoF1 (Free) | B1/B2/B3 (Basic) | S1/S2/S3 (Standard)
nameYesIoT Hub name (globally unique)
capacityNoUnits (1-200; F1 limited to 1)
locationYesAzure region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden, and it says nothing about whether the Bicep is returned as text or written to a file, whether anything is deployed or mutated, or what permissions are needed. 'Generate' implies a non-destructive code-emission operation, but that is inference rather than stated behavior, and there is no mention of idempotency or validation of the globally unique name.

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?

A single front-loaded sentence with the resource and scope stated first and no filler. It is terse to the point of under-specification rather than padded, so the small deduction is for thinness, not verbosity.

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?

The tool is simple — four flat parameters, fully documented, with no output schema — so the description is close to sufficient. What is missing is the output contract (Bicep text vs. written file) and any note on how the generated template is meant to be used, which an agent would want before invoking a generator.

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%, with every property documented including SKU tiers and the F1 capacity limit, so the description carries no obligation to restate them. It adds no meaning beyond the schema, which is the expected baseline here.

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?

The description gives a concrete verb plus resource — 'Generate Azure IoT Hub Bicep' — and names the capability area (device-to-cloud and cloud-to-device messaging), so an agent knows exactly what artifact comes back. It does not explicitly differentiate itself from nearby generators like generate_event_hub or generate_security_hub, relying on the resource name to carry that distinction.

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?

There is no when-to-use guidance, no prerequisites (subscription, resource group, naming constraints), and no statement of when a different hub generator would be the better choice. The agent must infer the triggering scenario purely from the resource name.

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.