Skip to main content
Glama
Mipiti
by Mipiti

get_remediation_leverage

Remediation-leverage plan for a model: which controls to implement first to close the most control objectives with the least work.

Instructions

Remediation-leverage plan for a model: which controls to implement first to close the most control objectives with the least work.

Returns the model's not-yet-satisfied controls ranked by how many control objectives each one closes (ranked), plus a greedy minimal fix order — the sequence of controls that reaches the most mitigated objectives with the fewest controls (greedy_plan) — and a summary of the collapse (total objectives, currently mitigated, how many controls the plan needs). Use to prioritize implementation work: a single call tells the agent which controls give the highest leverage, so it can tackle the shortest path to coverage instead of fixing objectives one at a time. Read-only.

Composed models: each entry in ranked and greedy_plan also carries its owning model — owner_model_id and owner_model_title — and an inherited flag. inherited is true when the control is authored on an ancestor model, meaning the fix lands on that model rather than the one being assessed; summary.inherited_candidate_controls counts them. Surface the owning model so the operator knows which high-leverage fixes belong to a parent model. A flat (non-composed) model reports every control as owned by the assessed model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesID of the threat model.
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description fully carries the behavioral disclosure burden. It explicitly states 'Read-only', which is critical for safety. It also discloses the output structure and the nuanced behavior for composed models (e.g., inherited controls owned by ancestor models, the inherited flag, and the summary count). This goes beyond the schema and provides valuable context about what the tool returns and how it behaves in different model types.

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?

The description is lengthy but well-structured: the first paragraph delivers the core purpose and usage, and the second handles composed model details. Every sentence adds value—the output fields, the read-only note, the owner_model details, and the summary. It is front-loaded with the most important information. While it could be trimmed slightly, the detail is warranted for the tool's complexity.

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

Completeness5/5

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

Given the tool's complexity and the presence of an output schema (as signaled), the description provides ample context: it explains the meaning of the key outputs (ranked, greedy_plan, summary), the composed model nuances, and the ownership implications. It also includes read-only status and usage intent. This level of completeness ensures an agent can use the tool correctly without needing additional documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: model_id is described but server_version has no description. The tool description does not mention either parameter or add any semantics. It focuses entirely on output and usage, failing to compensate for the missing schema documentation. Given the low coverage, the description should have clarified at least the server_version parameter, but it does not.

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 tool's function: 'Remediation-leverage plan for a model' and explains the output structure (ranked, greedy_plan, summary). It distinguishes itself from siblings by focusing on prioritization of implementation work, explicitly saying 'Use to prioritize implementation work' and contrasting with fixing objectives one at a time. This differentiates it from other control-related tools like get_controls or get_mitigation_groups.

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 usage context: 'Use to prioritize implementation work' and explains the benefit of a single call. It does not explicitly state when not to use it or mention alternative tools, but the use case is well-defined. The absence of exclusions and alternative references keeps it a step below exceptional, but the guidance is unmistakable.

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