Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Start Control Build

start_control_build

Starts a proposed control build for a threat model after confirming its credit estimate; optionally strengthens the draft within the stated cap and returns a job to poll.

Instructions

Start the model's proposed control build, or part of it. Mutating only with confirm_estimate=True; consumes credits then.

Generating or refining the model, editing an entity and regenerate_controls each PROPOSE a build (shown as proposal by get_control_generation_status); only this starts one. Its review also proposes every objective in scope with no control.

  1. confirm_estimate=False (default): nothing starts or is charged; returns {started: false, proposal, message} with a fresh estimated_credits and the model_version, set_revision and scope_revision to name. Show the user what it builds and costs.

  2. confirm_estimate=True with those three values: the build starts ({started: true, job_id}) and holds the model until it publishes, fails or is discarded. Poll get_control_generation_status until terminal, then get_controls.

objective_ids on both calls builds only those of the objectives proposed, keeps every other objective's controls and leaves the rest proposed.

strengthen=True on both calls also strengthens: the estimate adds a strengthening part (proposal.strengthen: credits, rounds), a cap the build never passes; it strengthens its finished draft within it and publishes once. Show the user both parts before confirming.

Refusals come back as data (started: false, http_status, code): 400 unknown_objectives / not_proposed / not_divisible (start it whole) / not_strengthenable; 404 no_proposal; 409 review_stale (start with the values returned), generation_active or strengthening_unavailable; 402 (the balance cannot cover the estimate).

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": "start_control_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYesID of the threat model.
strengthenNoTrue to strengthen in the same start, within the cap the estimate states. False (the default): the build alone.
set_revisionNoWith ``confirm_estimate=True``: the proposal's ``set_revision``.
model_versionNoWith ``confirm_estimate=True``: the proposal's ``model_version``.
objective_idsNoComma-separated objective IDs (e.g. ``"CO-1,CO-5"``) to build now, of those the proposal would build. Empty (the default): the whole proposal.
scope_revisionNoWith ``confirm_estimate=True``: the proposal's ``scope_revision``.
server_versionYes
confirm_estimateNoFalse (default) returns the proposal and its estimate and starts nothing; True starts the build.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.104.0
    • addedInput schema / properties / strengthen
      Added value: +{
      +  "default": false,
      +  "description": "True to strengthen in the same start, within the cap\nthe estimate states. False (the default): the build alone.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.102.5
    • addedInput schema / properties / objective_ids
      Added value: +{
      +  "default": "",
      +  "description": "Comma-separated objective IDs (e.g. ``\"CO-1,CO-5\"``)\nto build now, of those the proposal would build. Empty (the\ndefault): the whole proposal.",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv0.87.0
    • addedInput schema / properties / scope_revision
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "With ``confirm_estimate=True``: the proposal's\n``scope_revision``."
      +}
  4. Addedv0.84.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations at all, the description carries the full burden and does: it discloses credit consumption, that the build holds the model until it publishes/fails/is discarded, that a partial build preserves other objectives' controls, the strengthening credit cap, and a full refusal taxonomy with HTTP codes (400/404/409/402) and their meanings. The 409 `review_stale` recovery instruction ("start with the values returned") is exactly the kind of operational detail annotations could never supply.

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?

Front-loaded with the single most decision-relevant fact (mutating only under `confirm_estimate=True`, consumes credits), then a clean numbered confirm flow, then scoped modifiers, then the error catalog. It is dense and long, but every block maps to a distinct decision an agent must make; the main cost is that the opening paragraph and the numbered steps restate the propose-vs-start distinction.

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 an 8-parameter, credit-consuming, model-locking mutation, this covers the preview/confirm protocol, cost, locking, partial scope, strengthening, and every documented failure mode with recovery actions. An output schema exists, yet the description still names the shape of key responses (`{started, job_id}`, `{started: false, http_status, code}`) where it affects the agent's next move.

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

Parameters5/5

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

Schema coverage is already 88%, so the bar is baseline 3, but the description adds cross-parameter semantics the schema cannot express: that `objective_ids` is scoped to what the proposal would build and exempts the rest, that `set_revision`/`model_version`/`scope_revision` must be the proposal's own values and are only meaningful with `confirm_estimate=True`, and that `strengthen` adds a capped second part to the estimate. That is real meaning beyond the per-field texts.

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 and resource ("Start the model's proposed control build, or part of it") and then explicitly separates itself from lookalikes: generating/refining the model and `regenerate_controls` only PROPOSE, and "only this starts one." An agent can distinguish it from `regenerate_controls` and `get_control_generation_status` 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 an explicit two-step procedure with conditions: `confirm_estimate=False` to get a free estimate to show the user, `confirm_estimate=True` with the three returned revision values to actually start. It also names the downstream tools in order (`get_control_generation_status` until terminal, then `get_controls`) and states the partial-build condition for `objective_ids`. Nothing about when to pick this over the proposing siblings is left to inference.

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