Skip to main content
Glama
Mipiti
by Mipiti

import_controls

Import security controls into a threat model via structured JSON or free-text. Controls are auto-mapped and deduplicated before saving.

Instructions

Import existing security controls into a threat model.

Accepts structured JSON or free-text. Controls are auto-mapped to COs and deduplicated against existing ones. The parse/map/dedup runs as a background job (polled for progress), then — because this mutates the model — you are asked to confirm before the controls are saved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_mapNoAuto-map controls to COs using LLM (default: True).
model_idYesID of the threat model.
free_textNoFree-text controls (narrative/CSV/bullets).
source_labelNoOrigin label (e.g., "ISO 27001").
controls_jsonNoJSON array of {description, co_ids?, framework_refs?}.
server_versionYes

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 fully discloses key behaviors: accepts both JSON and free-text, auto-maps to control objectives, deduplicates, runs as a background job requiring polling, and requires confirmation before saving due to model mutation.

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 three sentences, front-loaded with the core purpose, followed by concise details on input, processing, and required confirmation. Each sentence earns its place with no redundancy.

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?

Given the tool complexity (6 parameters, background job, confirmation), the description covers the main workflow and important behavioral aspects. It omits details on polling progress or error handling, but an output schema likely handles return values.

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

Parameters4/5

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

The input schema already covers 83% of parameter descriptions. The description adds value by explaining how parameters like 'controls_json' and 'free_text' are used in the overall import flow, and mentions auto-mapping and dedup, which are not in the schema.

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 purpose: 'Import existing security controls into a threat model.' It specifies the action (import), resource (security controls), and target (threat model), distinguishing it from sibling tools like 'auto_map_controls' and 'regenerate_controls'.

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 explains when to use this tool: to import controls from structured JSON or free-text. It provides context on the background job and confirmation step, but does not explicitly mention alternatives or when not to use it.

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