Skip to main content
Glama
Azure Terraform MCP Server

Azure Terraform MCP Server

by liuwuliuyun

get_azapi_provider_documentation

Retrieve AzAPI resource documentation in Terraform using Azure REST API resource type names, with an optional API version for precise reference.

Instructions

Retrieve documentation for a specific AzAPI resource type in Terraform. Use Azure REST API format (e.g., Microsoft.Storage/storageAccounts).

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_azapi_provider_documentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiVersionNoOptional specific API version
resourceTypeNameYesThe Azure resource type in Azure REST API format (e.g., Microsoft.Storage/storageAccounts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 'Retrieve documentation' clearly signals a read-only, non-destructive lookup, which is the main behavioral trait here, but it says nothing about authentication needs, rate limits, or what the returned documentation contains.

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?

Two short sentences with the purpose front-loaded and the argument format immediately after. Nothing is redundant or padded.

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 simple two-parameter lookup with no output schema, the definition is minimally sufficient. It does not explain what the documentation payload contains or how specifying an apiVersion changes the response, which an agent would need to interpret results.

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 both parameters are already documented in the schema. The description's format example duplicates the schema's own example for resourceTypeName and adds no information about how apiVersion affects the result.

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 states a specific verb and resource: 'Retrieve documentation for a specific AzAPI resource type in Terraform.' The AzAPI qualifier implicitly distinguishes it from the azurerm documentation sibling, though it never names that sibling explicitly.

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?

Usage is only implied by the resource type itself; there is no explicit statement of when to choose this over get_azurerm_provider_documentation or get_avm_documentation. The format hint ('Use Azure REST API format') is guidance on the argument, not on tool selection.

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