Skip to main content
Glama

terraform-cloud-mcp

get_assessment_json_schema

Retrieve the JSON schema file from an assessment result to access provider schema details, including resource configurations and options. Requires admin access to the workspace.

Instructions

Retrieve the JSON schema file from an assessment result.

Gets the JSON schema representation of the provider schema used during the assessment, providing information about available resources and their configuration options.

API endpoint: GET /api/v2/assessment-results/{assessment_result_id}/json-schema

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

Returns: The JSON schema file containing provider information. The redirect 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" }

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