tf_state_list
Lists all resources currently tracked in the Terraform state for a given working directory.
Instructions
List resources in state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No |
Lists all resources currently tracked in the Terraform state for a given working directory.
List resources in state
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description implies a read-only listing operation, but with no annotations, it lacks explicit statements about side effects, dependencies (e.g., requires a state file), or output format. It is adequate but could be more transparent.
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 concise sentence, front-loading the core purpose. However, it sacrifices completeness for brevity.
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 one undocumented parameter and a large sibling set, the description omits critical context: parameter meaning, output details, and use-case boundaries. It leaves many questions unanswered for an AI agent.
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 schema has 0% description coverage, and the description does not explain the 'dir' parameter. The agent has no information on what this parameter does, formats it expects, or how it affects the listing.
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 clearly states the tool lists resources from the Terraform state. However, it does not specify whether it lists all resources or filtered, and the scope is implicit. It effectively distinguishes from sibling tools like tf_state_show but lacks specificity.
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 versus alternatives such as tf_state_show (which shows a specific resource) or other state-related tools. The agent receives no decision-support context.
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