tf_validate
Validates Terraform configuration files to detect syntax errors and structural issues before infrastructure deployment.
Instructions
Validate Terraform configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No |
Validates Terraform configuration files to detect syntax errors and structural issues before infrastructure deployment.
Validate Terraform configuration
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description bears full responsibility for disclosing behavior. It only states 'Validate Terraform configuration' without mentioning whether it is read-only, what output is produced, or any side effects. This is insufficient for an agent to understand the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 4 words, which is extremely short. While there is no unnecessary text, it is under-specified and fails to convey essential information, so it does not count as effective conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (1 parameter, no output schema, no annotations), the description should still cover usage context, parameter meaning, and results. It does none of these, making it incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has one parameter 'dir' with no description, and 0% schema description coverage. The description does not mention 'dir' or provide any context, leaving the parameter's purpose and format completely undocumented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Validate Terraform configuration' clearly states the tool's verb (validate) and resource (Terraform configuration). It is distinct from sibling tools like tf_plan or tf_apply, which have different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool vs alternatives such as tf_plan, which also performs validation. The description implies usage before applying changes, but it is not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjrestivo16/mcp-terraform'
If you have feedback or need assistance with the MCP directory API, please join our Discord server