Skip to main content
Glama
Mipiti
by Mipiti

preview_finding_remediation

Preview remediation changes for a security finding. Returns a structured diff showing exactly what cleanup will occur, enabling operators to confirm before committing.

Instructions

Preview what the platform would do to remediate a finding.

Read-only. Returns a structured diff describing the changes a subsequent apply_finding_remediation call would make. Use this BEFORE apply_finding_remediation to show the operator exactly what cleanup will happen, and get explicit confirmation before committing.

The exact shape of the diff depends on the finding's kind. For kind=structural_duplicate_controls, you get back which controls would be kept, which dropped, and the union of CO mappings + framework refs that would land on the survivor.

Returns 404 if the finding doesn't exist; 422 if the finding's kind has no automatic remediation handler.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
finding_idYesID of the finding to preview remediation for.
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Discloses read-only nature, returns structured diff, explains that shape depends on finding kind with example (kind=structural_duplicate_controls), and specifies error conditions (404, 422). No annotations provided, so description carries full burden and does so thoroughly.

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?

Concise and front-loaded: first sentence states purpose, subsequent sentences add necessary detail. No redundant information. Approximately 6 sentences, each earning its place.

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?

Covers behavior, error conditions, and example output shape for a specific kind. Has output schema, so return values are documented there. Very good completeness; could mention that the tool is safe to call repeatedly but not necessary.

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?

Two parameters: finding_id and server_version. Schema covers finding_id with description, server_version lacks description (50% coverage). Description adds context about diff shape depending on finding kind, which relates to finding_id, but does not elaborate on server_version. Not enough to fully compensate for the missing parameter description.

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?

Clearly states action 'Preview' and resource 'what the platform would do to remediate a finding'. Distinguishes from sibling 'apply_finding_remediation' by explicitly mentioning it.

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?

Provides explicit guidance: 'Use this BEFORE apply_finding_remediation to show the operator exactly what cleanup will happen, and get explicit confirmation before committing.' Implicitly advises not to use it if you want to apply directly. No explicit alternatives beyond the paired tool.

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/Mipiti/mipiti-mcp'

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