Skip to main content
Glama
Azure Terraform MCP Server

Azure Terraform MCP Server

by liuwuliuyun

get_azurerm_provider_documentation

Fetches AzureRM Terraform provider docs for a resource type or data source and optionally returns details for a specific argument or attribute.

Instructions

Retrieve documentation for a specific AzureRM resource type in Terraform. Supports optional argument/attribute lookup.

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": {
      "resourceTypeName": "<resourceTypeName>"
    },
    "name": "get_azurerm_provider_documentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
docTypeNoType of documentation: 'resource' or 'data-source'resource
argumentNameNoSpecific argument name to retrieve details for
attributeNameNoSpecific attribute name to retrieve details for
resourceTypeNameYesThe name of the AzureRM resource type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about whether the call is a network fetch, whether results are cached, rate limits, or what the returned documentation looks like. 'Retrieve' weakly implies a read-only operation, but the tool is a documentation lookup with no output schema, so the response shape is entirely undisclosed.

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?

Two short sentences with the core purpose front-loaded and no filler. The second sentence is mildly redundant with the schema but does signal that a narrowed lookup mode exists, so it earns most of its space.

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?

For a four-parameter, read-style documentation tool with no annotations and no output schema, the definition covers the basic purpose but omits the return-value shape and any behavioral context an agent would want before calling it. It is minimally viable rather than complete.

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%, including the docType enum and per-parameter descriptions, so the schema already does the semantic work. The description's phrase 'optional argument/attribute lookup' merely echoes two of those parameters without adding behavior such as whether supplying argumentName filters or narrows the returned document.

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 resource ('Retrieve documentation for a specific AzureRM resource type in Terraform'), which is clear enough for an agent to match intent. However, it never distinguishes itself from the closely-named sibling get_azapi_provider_documentation, leaving the azurerm-vs-azapi choice to inference.

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 or when-not-to-use guidance, no mention of the azapi/AVM documentation siblings as alternatives, and no explanation of when to supply argumentName versus attributeName. At best 'Supports optional argument/attribute lookup' hints at a narrowed-lookup mode, but that only restates the schema.

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