Skip to main content
Glama
Mipiti
by Mipiti

get_controls

Retrieve implementation controls for a threat model, with auto-generation if not yet created. Supports filtering by status, objective, or component, pagination, and inclusion of orphaned or deleted controls.

Instructions

Get implementation controls for a threat model.

Returns controls that should be implemented to satisfy control objectives. If controls haven't been generated yet, auto-generates them.

By default excludes ORPHANED controls — controls whose every mapped CO is tombstoned (its asset/attacker pair was removed in a later version). Pass include_orphaned=True to see them. Each returned control carries a boolean orphaned field so callers can render the distinction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
co_idNoFilter by control objective ID.
limitNoMax to return (0=all).
offsetNoSkip first N (for pagination).
statusNoFilter by "implemented", "not_implemented", "verified".
model_idYesID of the threat model.
control_idNoOptional specific control for detail mode.
component_idNoFilter by component ID (e.g., "CMP1").
summary_onlyNoIf True, returns only id, description, status, assertion_count, and assumed_by per control (much smaller response).
server_versionYes
include_deletedNoInclude soft-deleted controls.
include_orphanedNoInclude controls mapped only to tombstoned COs (default False).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors: auto-generation of controls if not yet generated, default exclusion of orphaned controls, and that each returned control has a boolean 'orphaned' field. This adds significant behavioral context beyond the schema.

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 concise and well-structured: the first sentence states the main purpose, the second explains auto-generation, and the third covers the orphaned detail. Every sentence adds value, and the information is front-loaded.

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?

The description covers key behaviors (auto-generation, orphaned handling) and mentions the 'orphaned' field. Given that an output schema exists, it's not required to explain return values. Pagination and filtering parameters are documented in the schema. The description is fairly complete for the tool's complexity and number of parameters.

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 91%, so the schema already documents most parameters. The description adds value by explaining the concept of orphaned controls and the 'include_orphaned' parameter's effect, but it does not significantly enhance meaning for other parameters beyond what the schema provides. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool gets implementation controls for a threat model, specifying that it returns controls to satisfy control objectives and auto-generates them if not present. This is a specific verb+resource, but it does not explicitly differentiate from sibling tools like 'get_control' or 'list_*' tools.

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

Usage Guidelines2/5

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

The description explains the default exclusion of orphaned controls and how to include them, but it does not provide guidance on when to use this tool versus alternatives such as 'get_control' for a specific control or the various list tools. There is no explicit when-to-use or when-not-to-use advice.

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