Skip to main content
Glama

OpenTofu MCP Server

Official
by opentofu

get-datasource-docs

Retrieve detailed documentation for OpenTofu data sources by specifying provider namespace, name, and data source. Simplifies access to essential information for efficient infrastructure management.

Instructions

Get detailed documentation for a specific OpenTofu data source by provider namespace, provider name, and data source name.

Input Schema

NameRequiredDescriptionDefault
dataSourceYesData source name WITHOUT provider prefix (e.g., 'ami', 'vpc')
nameYesProvider name WITHOUT 'terraform-provider-' prefix (e.g., 'aws', 'kubernetes')
namespaceYesProvider namespace (e.g., 'hashicorp', 'opentofu')
versionNoProvider version (e.g., 'v4.0.0'). If not specified, latest version will be used

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "dataSource": { "description": "Data source name WITHOUT provider prefix (e.g., 'ami', 'vpc')", "minLength": 1, "type": "string" }, "name": { "description": "Provider name WITHOUT 'terraform-provider-' prefix (e.g., 'aws', 'kubernetes')", "minLength": 1, "type": "string" }, "namespace": { "description": "Provider namespace (e.g., 'hashicorp', 'opentofu')", "minLength": 1, "type": "string" }, "version": { "description": "Provider version (e.g., 'v4.0.0'). If not specified, latest version will be used", "type": "string" } }, "required": [ "namespace", "name", "dataSource" ], "type": "object" }

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/opentofu/opentofu-mcp-server'

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