Skip to main content
Glama
security-use

Security-Use MCP Server

by security-use

fix_iac

Fix Infrastructure as Code security misconfigurations by suggesting or automatically applying corrections to identified vulnerabilities in IaC files.

Instructions

Fix an Infrastructure as Code security misconfiguration. Can either suggest a fix (default) or apply it automatically. Returns before/after code for review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the IaC file containing the issue.
line_numberNoLine number where the issue is located.
rule_idYesID of the security rule that was violated.
auto_applyNoIf true, automatically apply the fix. If false, only return the suggested fix. Defaults to false.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context beyond basic functionality by describing the two modes (suggest vs. apply) and the return format (before/after code for review). However, it lacks details on permissions needed, rate limits, error handling, or whether changes are reversible, which are important for a mutation tool like this.

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?

The description is front-loaded with the core purpose in the first sentence, followed by operational details in a second sentence. Every sentence earns its place by conveying essential information without redundancy, making it efficient and well-structured.

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?

Given the tool's complexity (mutation with optional auto-apply) and no output schema, the description is somewhat complete but has gaps. It explains the tool's purpose and behavior but lacks details on output structure, error cases, or prerequisites. With no annotations, it should provide more behavioral context to fully guide an agent.

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 the schema already documents all parameters thoroughly. The description does not add any additional meaning or examples beyond what the schema provides (e.g., it doesn't clarify parameter interactions or usage tips). Baseline score of 3 is appropriate as the schema does the heavy lifting.

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?

The description clearly states the specific action ('Fix an Infrastructure as Code security misconfiguration'), the resource involved (IaC files), and distinguishes it from siblings by specifying it addresses security misconfigurations rather than general analysis or other security tasks like 'scan_iac' or 'fix_vulnerability'. It includes the verb 'fix' and details the scope of fixing IaC security issues.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use this tool by specifying it's for fixing IaC security misconfigurations and mentions the default behavior (suggest a fix) versus alternative (apply automatically). However, it does not explicitly state when not to use it or name specific sibling alternatives like 'create_fix_pr' or 'scan_iac', which could help differentiate further.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/security-use/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server