Skip to main content
Glama
Azure Terraform MCP Server

Azure Terraform MCP Server

by liuwuliuyun

setup_conftest_environment

Checks Conftest installation, installs it if missing, downloads policies, and validates the environment so Terraform configurations can be policy-checked.

Instructions

Automatically setup Conftest environment: checks installation, installs if needed, downloads policies, and validates everything is working.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "setup_conftest_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipPoliciesNoSkip policy library setup
workspacePathNoPath to workspace for policy download (defaults to current directory)
confirmInstallNoUser confirmed they want to proceed with installation

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 full behavioral burden. It does disclose that the tool may install software and download policies (mutation plus network access), but it says nothing about permissions required, idempotency on re-runs, reversibility of the install, or how partial failures are reported.

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?

A single front-loaded sentence lists the steps in execution order with no filler or repetition; every clause maps to a distinct behavior.

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 zero-required-parameter bootstrap tool with side effects and no annotations or output schema, the definition covers the happy path but omits failure behavior, whether the operation is idempotent, and what the caller observes on success. Adequate but with clear gaps.

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 all three parameters (skipPolicies, workspacePath, confirmInstall) are already documented in the schema. The description adds no additional meaning about how these flags alter the setup flow, so the baseline of 3 applies.

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 gives a specific verb+resource ('setup Conftest environment') and enumerates the concrete steps performed: installation check, conditional install, policy download, and validation. It does not, however, distinguish this tool from the sibling check_conftest_installation, so an agent cannot tell from the text alone which one to reach for.

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: 'installs if needed' suggests it is safe to run as a one-shot bootstrap, but there is no explicit statement of when to use this versus check_conftest_installation or the generate_* command tools, and no preconditions or exclusions are given.

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