Skip to main content
Glama

terraform-cloud-mcp

get_assessment_log_output

Retrieve raw logs from Terraform Cloud assessment operations to analyze execution details and errors. Requires workspace admin access, providing direct log output for troubleshooting.

Instructions

Retrieve logs from an assessment result.

Gets the raw log output from a Terraform Cloud assessment operation, providing detailed information about the execution and any errors.

API endpoint: GET /api/v2/assessment-results/{assessment_result_id}/log-output

Args: assessment_result_id: The ID of the assessment result to retrieve logs for (format: "asmtres-xxxxxxxx")

Returns: The raw logs from the assessment operation. The redirect to the log file is automatically followed.

Note: This endpoint requires admin level access to the workspace and cannot be accessed with organization tokens.

See: docs/tools/assessment_results.md for reference documentation

Input Schema

NameRequiredDescriptionDefault
assessment_result_idYes

Input Schema (JSON Schema)

{ "properties": { "assessment_result_id": { "title": "Assessment Result Id", "type": "string" } }, "required": [ "assessment_result_id" ], "type": "object" }

Other Tools from terraform-cloud-mcp

Related Tools

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