Skip to main content
Glama

Eksplane

Review a Terraform plan

review_plan
Read-onlyIdempotent

Summarize a Terraform plan and flag destroys and replacements of stateful or shared resources. Returns addresses, types and actions only, never values.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_json": "<plan_json>"
    },
    "name": "review_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_jsonYesOutput of terraform show -json <planfile>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description doesn't need to repeat safety. It adds real value by disclosing the return shape ('addresses, types and actions only, never values') and the emphasis on stateful/shared resource destroys and replacements.

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?

Two sentences, front-loaded with the core action and followed by the output contract. No filler, no restatement of the title, and the privacy constraint ('never values') is stated tersely.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only tool with no output schema, the description covers action, focus, and return contents adequately. Minor gap: it does not define what counts as 'stateful or shared', which affects how an agent interprets the flagged findings.

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?

There is a single parameter with 100% schema description coverage ('Output of terraform show -json <planfile>'), which already tells the agent exactly what to supply. The description adds no further meaning about the parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource ('Summarize a Terraform plan') plus a named analytical focus ('flag destroys and replacements of stateful or shared resources'). None of the siblings (check_tfvars, describe_inputs, etc.) perform plan review, so an agent can route here unambiguously.

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 implied by the phrase 'review a Terraform plan' — an agent would infer this fits pre-apply risk review. However, there is no explicit when-to-use condition, no when-not condition, and no reference to a sibling for related needs such as inspecting variables.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.