Skip to main content
Glama

Get Remediation Guidance

get_remediation
Read-only

Compute a remediation plan for a threat or finding without applying it (dry run). Runs Aribot's governed remediation checks and returns the proposed steps.

Input Schema

NameRequiredDescriptionDefault
rule_idYesPolicy/rule id (e.g. AWS_S3_PUBLIC_ACCESS)
threat_idYesThreat id/code to remediate
resource_contextYesThe cloud resource: provider, resource_id (required), region, account_id, metadata

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / resource_context / description
      Previous value: -"provider/resource_id/region/account_id/metadata"New value: +"The cloud resource: provider, resource_id (required), region, account_id, metadata"
    • changedInput schema / required
      Previous value: -[
      -  "threat_id",
      -  "rule_id"
      -]New value: +[
      +  "threat_id",
      +  "rule_id",
      +  "resource_context"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value by confirming the dry-run semantics and noting that it runs governed checks and returns proposed steps, though it says nothing about cost, latency, or failure modes.

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 tight sentences, front-loaded with the core action and the non-destructive qualifier. No filler or restatement of the title.

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?

No output schema exists, and the description does note that it returns proposed steps, which covers the return intent. For a 3-required-param tool with a nested resource_context object, it is adequate given the schema already documents inputs in full.

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 all three parameters (rule_id, threat_id, resource_context) are already documented in the schema, including the nested resource_context fields. The description adds no additional parameter meaning, so 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?

States a specific verb (compute), resource (remediation plan), and scope (for a threat or finding, dry run). The phrase 'without applying it' immediately distinguishes it from the apply_remediation sibling without needing to name 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?

Clear context for use: to preview remediation steps for a threat or finding before committing. The dry-run qualifier implicitly routes the agent away from apply_remediation, but the sibling is never named and no explicit when-not guidance is given.

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.