Skip to main content
Glama

terraform-cloud-mcp

list_variable_sets

Retrieve a paginated list of variable sets in a Terraform Cloud organization to manage and reuse variables across multiple workspaces efficiently. Supports custom pagination settings.

Instructions

List variable sets in an organization.

Retrieves a paginated list of all variable sets in a Terraform Cloud organization. Variable sets allow you to reuse variables across multiple workspaces.

API endpoint: GET /organizations/{organization}/varsets

Args: organization: The name of the organization page_number: The page number to return (default: 1) page_size: The number of items per page (default: 20, max: 100)

Returns: Paginated list of variable sets with their configuration and metadata

See: docs/tools/variables.md#list-variable-sets for reference documentation

Input Schema

NameRequiredDescriptionDefault
organizationYes
page_numberNo
page_sizeNo

Input Schema (JSON Schema)

{ "properties": { "organization": { "title": "Organization", "type": "string" }, "page_number": { "default": 1, "title": "Page Number", "type": "integer" }, "page_size": { "default": 20, "title": "Page Size", "type": "integer" } }, "required": [ "organization" ], "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/severity1/terraform-cloud-mcp'

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