Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Get Controls

get_controls

Fetch a model's controls or a single control by ID, filter by status, CO, component, or version, and page results to review control status, evidence state, and implementation needs.

Instructions

A model's controls, or one control. Read-only.

Without control_id: {controls, total, returned}, the published set, filtered by status, co_id and component_id and paged by offset / limit. Orphaned controls (every mapped CO tombstoned) are left out unless include_orphaned=True, soft-deleted ones unless include_deleted=True. summary_only=True returns only id, description, status, verification_status, assertion_count, co_ids, assumption_groups and attestation_dependency. An empty list on a new model means its proposed build was never started (get_control_generation_status); while a build holds the model the list is the last published set, with a building marker.

With control_id: that control, with an orphaned flag; version reads it as of a model version (0 = latest).

An objective id on a control is an ATTACHMENT, not credit: only a member of a required mitigation group earns any, and a control that is defense-in-depth everywhere can be implemented and verified without moving an objective. Read get_mitigation_groups before evidence work.

status is the operator's (not_implemented / implemented / verified); verification_status is the EVIDENCE: verified (both tiers pass and the assertions cover the whole description), partially_verified (a tier failed, clauses are unproven, or an attestation EXPIRED — get_sufficiency says which; the fix is more assertions or a narrower description, never a recompute), pending, unverified (none submitted). A for-all clause is credited only by a sound type bound with covers; get_control_work_order lists what each clause needs. status="implemented" finds what still needs evidence. Only this model's own controls are listed; inherited ones are counted by assess_model.

include_need=True: each control's need, its role (required; not_required or defence_in_depth where nothing needs it) and why. Work on required; relay the rest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server_version": "<server_version>",
      "model_id": "<model_id>"
    },
    "name": "get_controls"
  }
}

Input Schema

NameRequiredDescriptionDefault
co_idNo
limitNo
offsetNo
statusNo
versionNo
model_idYes
control_idNo
component_idNo
include_needNo
summary_onlyNo
server_versionYes
include_deletedNo
include_orphanedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.113.0
    • addedInput schema / properties / include_need
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. Changed11 schema fields changedv0.84.0
    • removedInput schema / properties / co_id / description
      Removed value: -"List-mode filter — control objective ID."
    • removedInput schema / properties / component_id / description
      Removed value: -"List-mode filter — component ID (e.g., \"CMP1\")."
    • removedInput schema / properties / control_id / description
      Removed value: -"If set, detail mode — return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."
    • removedInput schema / properties / include_deleted / description
      Removed value: -"List mode — include soft-deleted controls\n(default False)."
    • removedInput schema / properties / include_orphaned / description
      Removed value: -"List mode — include controls mapped only to\ntombstoned COs (default False)."
    • removedInput schema / properties / limit / description
      Removed value: -"List mode — max controls to return (0 = all)."
    • removedInput schema / properties / model_id / description
      Removed value: -"ID of the threat model."
    • removedInput schema / properties / offset / description
      Removed value: -"List mode — skip the first N controls (pagination)."
    • removedInput schema / properties / status / description
      Removed value: -"List-mode filter — \"implemented\", \"not_implemented\", or\n\"verified\"."
    • removedInput schema / properties / summary_only / description
      Removed value: -"List mode — if True, returns only id, description,\nstatus, assertion_count, and assumed_by per control (much\nsmaller response)."
    • removedInput schema / properties / version / description
      Removed value: -"Detail mode only — model version to read the control\nfrom. 0 (default) uses the latest. Ignored in list mode."
  3. Changed1 schema field changedv0.71.1
    • changedInput schema / properties / control_id / description
      Previous value: -"If set, detail mode �� return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."New value: +"If set, detail mode — return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."
  4. Changed1 schema field changedv0.71.0
    • changedInput schema / properties / control_id / description
      Previous value: -"If set, detail mode — return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."New value: +"If set, detail mode �� return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."
  5. Changed10 schema fields changedv0.68.2
    • changedInput schema / properties / co_id / description
      Previous value: -"Filter by control objective ID."New value: +"List-mode filter — control objective ID."
    • changedInput schema / properties / component_id / description
      Previous value: -"Filter by component ID (e.g., \"CMP1\")."New value: +"List-mode filter — component ID (e.g., \"CMP1\")."
    • changedInput schema / properties / control_id / description
      Previous value: -"Optional specific control id for detail mode."New value: +"If set, detail mode — return this one control's full\nrecord directly (e.g. ``CTL-12``). If omitted, list mode."
    • changedInput schema / properties / include_deleted / description
      Previous value: -"Include soft-deleted controls (default False)."New value: +"List mode — include soft-deleted controls\n(default False)."
    • changedInput schema / properties / include_orphaned / description
      Previous value: -"Include controls mapped only to tombstoned COs\n(default False)."New value: +"List mode — include controls mapped only to\ntombstoned COs (default False)."
    • changedInput schema / properties / limit / description
      Previous value: -"Max controls to return (0 = all)."New value: +"List mode — max controls to return (0 = all)."
    • changedInput schema / properties / offset / description
      Previous value: -"Skip the first N controls (pagination)."New value: +"List mode — skip the first N controls (pagination)."
    • changedInput schema / properties / status / description
      Previous value: -"Filter by \"implemented\", \"not_implemented\", or \"verified\"."New value: +"List-mode filter — \"implemented\", \"not_implemented\", or\n\"verified\"."
    • changedInput schema / properties / summary_only / description
      Previous value: -"If True, returns only id, description, status,\nassertion_count, and assumed_by per control (much smaller\nresponse)."New value: +"List mode — if True, returns only id, description,\nstatus, assertion_count, and assumed_by per control (much\nsmaller response)."
    • addedInput schema / properties / version
      Added value: +{
      +  "default": 0,
      +  "description": "Detail mode only — model version to read the control\nfrom. 0 (default) uses the latest. Ignored in list mode.",
      +  "type": "integer"
      +}
  6. Changed7 schema fields changedv0.66.0
    • changedInput schema / properties / control_id / description
      Previous value: -"Optional specific control for detail mode."New value: +"Optional specific control id for detail mode."
    • changedInput schema / properties / include_deleted / description
      Previous value: -"Include soft-deleted controls."New value: +"Include soft-deleted controls (default False)."
    • changedInput schema / properties / include_orphaned / description
      Previous value: -"Include controls mapped only to tombstoned\nCOs (default False)."New value: +"Include controls mapped only to tombstoned COs\n(default False)."
    • changedInput schema / properties / limit / description
      Previous value: -"Max to return (0=all)."New value: +"Max controls to return (0 = all)."
    • changedInput schema / properties / offset / description
      Previous value: -"Skip first N (for pagination)."New value: +"Skip the first N controls (pagination)."
    • changedInput schema / properties / status / description
      Previous value: -"Filter by \"implemented\", \"not_implemented\", \"verified\"."New value: +"Filter by \"implemented\", \"not_implemented\", or \"verified\"."
    • changedInput schema / properties / summary_only / description
      Previous value: -"If True, returns only id, description, status,\nassertion_count, and assumed_by per control (much smaller response)."New value: +"If True, returns only id, description, status,\nassertion_count, and assumed_by per control (much smaller\nresponse)."
  7. Addedv0.62.2
  8. Removedv0.62.1
  9. First observedv0.57.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares read-only explicitly, discloses default exclusions (orphaned controls unless include_orphaned, soft-deleted unless include_deleted), explains the empty-list and building-marker edge cases, and clarifies that only this model's own controls are returned. It also spells out verification_status values and the fix path for partially_verified (more assertions or a narrower description, never a recompute).

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?

Purpose and mode split are front-loaded and the paragraphing maps to list mode, single mode, then filtering flags. It is dense and long, and some passages (objective-attachment vs credit, the for-all clause note) explain domain semantics rather than how to call the tool, which costs space even though it aids interpretation of results.

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?

For a 13-parameter, two-mode tool with no annotations this is essentially complete: it covers both call shapes, paging, exclusion defaults, conditional summary fields, edge-case return meanings, and sibling routing. An output schema exists, and the description's return-shape notes are consistent with it rather than a substitute for missing information.

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?

Schema coverage is 0% across 13 parameters, so the description must compensate, and it does for roughly ten of them: status, co_id, component_id, offset/limit, include_orphaned, include_deleted, summary_only, control_id, version and include_need all get real meaning, including the status enum values that the schema lacks. It leaves server_version (required) entirely unexplained and does not say what limit=0 means, so compensation is strong but incomplete.

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?

Opens with a specific verb-and-resource statement ("A model's controls, or one control. Read-only.") and immediately splits the two operating modes by whether control_id is supplied. Sibling tools are named by name (get_control_generation_status, get_mitigation_groups, get_sufficiency, get_control_work_order, assess_model), so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit mode selection (without control_id = list, with control_id = single, version = as-of read), tells the agent to read get_mitigation_groups before evidence work, explains that status="implemented" finds controls still needing evidence, and directs follow-up to get_sufficiency / get_control_work_order when verification fails. It also states a scope exclusion: inherited controls are counted by assess_model, not listed here.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools