Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Edit Assumption

edit_assumption

Edits a threat model assumption by updating its description, evidence, linked controls, linked entities, or exclusion predicate, creating a new model version and returning the updated assumption.

Instructions

Edit an assumption. Creates a new model version. Returns {model, entities, ...}: the model's id, version and title, and entities.assumptions the assumption as it now stands.

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>",
      "assumption_id": "<assumption_id>"
    },
    "name": "edit_assumption"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidenceNo
model_idYesID of the threat model.
entity_idsNoComma-separated asset and attacker ids whose words rest on it; replaces the ones it names ("" names none, omit to leave unchanged). The quality check of each is shown it.
descriptionNoNew description (omit to leave unchanged).
assumption_idYesID of the assumption to edit (e.g., "AS1").
linked_co_idsNoNew comma-separated CO IDs; replaces the existing linkage (omit to leave unchanged).
server_versionYes
clear_exclusionNoWhen True, removes the predicate entirely (the assumption becomes prose-only). Mutually exclusive with the exclusion_* params — if both are sent, the exclusion_* params win.
exclusion_co_idsNoComma-separated CO IDs the predicate matches explicitly; when non-empty, overrides the match fields. Supplying any exclusion_* param rewrites the whole predicate (unspecified fields default to "*").
exclusion_asset_idNo"*" or a concrete asset ID.
exclusion_attacker_idNoPredicate match — "*" wildcard or a concrete attacker ID.
exclusion_property_matchNo"C" | "I" | "A" | "U" | "*".
exclusion_attacker_vectorNoOne of "Network" | "Adjacent" | "Local" | "Physical" | "*".
exclusion_asset_component_idNo"*" or a concrete component ID.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.106.1
    • addedInput schema / properties / evidence
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.102.0
    • addedInput schema / properties / entity_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Comma-separated asset and attacker ids whose words rest\non it; replaces the ones it names (\"\" names none, omit to leave\nunchanged). The quality check of each is shown it."
      +}
  3. Changed10 schema fields changedv0.66.0
    • changedInput schema / properties / assumption_id / description
      Previous value: -"ID of the assumption (e.g., \"AS1\")."New value: +"ID of the assumption to edit (e.g., \"AS1\")."
    • changedInput schema / properties / clear_exclusion / description
      Previous value: -"When True, clears the predicate. Mutually\nexclusive with the exclusion_* params (those win if both\nare sent)."New value: +"When True, removes the predicate entirely (the\nassumption becomes prose-only). Mutually exclusive with the\nexclusion_* params — if both are sent, the exclusion_* params win."
    • changedInput schema / properties / description / description
      Previous value: -"New description."New value: +"New description (omit to leave unchanged)."
    • addedInput schema / properties / exclusion_asset_component_id / description
      Added value: +"\"*\" or a concrete component ID."
    • addedInput schema / properties / exclusion_asset_id / description
      Added value: +"\"*\" or a concrete asset ID."
    • addedInput schema / properties / exclusion_attacker_id / description
      Added value: +"Predicate match — \"*\" wildcard or a concrete\nattacker ID."
    • addedInput schema / properties / exclusion_attacker_vector / description
      Added value: +"One of \"Network\" | \"Adjacent\" | \"Local\" |\n\"Physical\" | \"*\"."
    • addedInput schema / properties / exclusion_co_ids / description
      Added value: +"Comma-separated CO IDs the predicate matches\nexplicitly; when non-empty, overrides the match fields. Supplying\nany exclusion_* param rewrites the whole predicate (unspecified\nfields default to \"*\")."
    • addedInput schema / properties / exclusion_property_match / description
      Added value: +"\"C\" | \"I\" | \"A\" | \"U\" | \"*\"."
    • changedInput schema / properties / linked_co_ids / description
      Previous value: -"New comma-separated CO IDs (replaces existing linkage)."New value: +"New comma-separated CO IDs; replaces the existing\nlinkage (omit to leave unchanged)."
  4. Addedv0.62.2
  5. Removedv0.62.0
  6. First observedv0.57.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses a non-obvious side effect (creates a new model version) and sketches the return payload, but says nothing about permissions, reversibility, or conflict handling for the exclusion_* params versus clear_exclusion, which the schema does cover.

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?

Three short sentences, front-loaded with the action and the versioning side effect. The return-shape sentence partially duplicates what the output schema already provides, which is minor waste but not harmful.

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

Completeness3/5

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

For a 14-parameter mutation tool with no annotations, the description covers the key side effect and output, and the output schema plus 86% schema coverage handle returns and parameters. It remains thin on permissions, reversibility, and error behavior, which an agent would want before invoking a state-changing edit.

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 high at 86%, so parameter meanings are largely documented in the schema, including the omit-to-leave-unchanged semantics and the exclusion rewrite rule. The description adds no parameter-level meaning beyond the return shape, so the baseline 3 applies.

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?

States a specific verb and resource ('Edit an assumption') and adds the side effect that a new model version is created. It does not distinguish itself from the sibling add_assumption, so an agent must infer that this edits an existing assumption rather than creating one.

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?

There is no explicit guidance on when to use this tool versus add_assumption, convert_assumption_to_controls, or the related edit_* tools. Usage is only implied by the verb 'Edit' and the required assumption_id.

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