Skip to main content
Glama

Eksplane

Check a tfvars file

check_tfvars
Read-onlyIdempotent

Check a component's tfvars against Eksplane's contract: unknown or missing inputs, types, the root's validation rules, leftover example placeholders, CodeBuild project pairing and the backend state key.

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": {
      "component": "<component>",
      "content": "<content>"
    },
    "name": "check_tfvars"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoTarget AWS region
contentYesThe .tfvars file content
componentYese.g. clusters/network or environments/app_deploy
environmentNoTarget environment (environment components)
cluster_classNoTarget cluster class, e.g. non-prod
backend_contentNoThe matching -backend.hcl content

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered; the description adds real behavioral content by disclosing exactly which contract violations are detected, including the optional backend_content check. It stops short of describing what the result looks like (a flat error list vs. grouped findings) or whether validation halts on the first failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the phrase 'against Eksplane's contract' frames the whole check list. The trailing enumerated clause is dense but each item is a distinct validation category, though a short structured list would scan faster.

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 six-parameter validation tool with no output schema, the description covers what is checked but not the shape or severity of the returned findings, which is the key thing an agent needs to act on the result. Annotations do carry the read-only/idempotent profile, keeping the gap moderate rather than severe.

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% with six documented parameters, including an example for component ('clusters/network'), so the schema carries the semantic load. The description only implicitly links backend_content to the 'backend state key' check; it adds no format details such as how the component/environment/cluster_class values select which root contract 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?

States a specific verb (check) plus the exact resource (a component's tfvars) and enumerates the six validation classes performed: unknown/missing inputs, types, root validation rules, example placeholders, CodeBuild project pairing, and backend state key. The 'tfvars' scope clearly separates it from check_chart_values and the other siblings without needing to name them.

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 — an agent can infer this is a pre-flight validation step before applying a component's tfvars, but there is no explicit 'use this when', no statement of when not to use it, and no routing to alternatives such as check_chart_values for chart values or describe_inputs for expected inputs.

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.