Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Edit Attacker

edit_attacker

Modify threat-model attacker details such as position, capability, attack vector, privileges, and attestations while preserving unspecified fields.

Instructions

Edit an attacker; only the fields given change.

capability names the operations performable from the position ("From [position], the attacker can …"), else it gets a quality_warning. Identity fields are LLM-gated. The composed likelihood comes from the factors. An edit of attack_vector or privileges_required creates a model version (reachability reads both); other factor edits are recorded as rating revisions. Over a pending rating (rating_pending), a factor edit settles the pair, a judgment (rating_reconfirmed). New words are rated for (one call, at your cost); a person's rating is kept, the new one held pending, and attested or holdings-given privileges never move. Adopting advice is your own edit. The answer's model is the model's id, version and title; entities.attackers the attacker as it now stands.

Attesting is a judgment: a person's edit attests what it writes (trust_boundary_ids, privileges_required, surface_extent) and attest_* attests the value as it stands. A program attests only under a workspace rule for that attestation; otherwise its edit lands unattested and the answer's attestation names the parked escalation_id (never a 403). A refused program's extent never lowers an attested one. "point" is REFUSED where an asset of the attacker's objectives sits on several components and is not split-knowledge, and never makes a universal clause existential.

400 when factor fields, surface_extent, attest_surface_extent or attest_privileges come without change_reason; 503/502 on an evaluator outage or malformed answer or a failed rating call. 409 when the model changed since it was read: read it again. 409 privileges_from_holdings for a privileges change on an attacker whose credential classes are stated: its privileges follow from them, so say what it holds instead (answer_attacker_credentials).

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>",
      "attacker_id": "<attacker_id>"
    },
    "name": "edit_attacker"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidenceNo
model_idYes
positionNo
archetypeNo
capabilityNo
attacker_idYes
attack_vectorNoNetwork | Adjacent | Local | Physical.
change_reasonNoWhy; required as above.
server_versionYes
surface_extentNo``whole`` (any entry of the interface reached) or ``point`` (one named entry).
attest_positionNotrue attests the current position.
user_interactionNoNone | Required.
attack_complexityNoLow | High.
attest_privilegesNotrue attests the current ``privileges_required``, whatever its value.
trust_boundary_idsNoComma-separated ids of the boundaries the attacker has crossed; replaces the set.
privileges_requiredNoNone | Low | High.
likelihood_rationaleNo
attest_surface_extentNotrue attests the current extent.
capability_prevalenceNoCommodity | Targeted | Rare.

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. Changed17 schema fields changedv0.87.0
    • removedInput schema / properties / archetype / description
      Removed value: -"New archetype (optional)."
    • changedInput schema / properties / attack_complexity / description
      Previous value: -"\"Low\" | \"High\"."New value: +"Low | High."
    • changedInput schema / properties / attack_vector / description
      Previous value: -"\"Network\" | \"Adjacent\" | \"Local\" | \"Physical\"."New value: +"Network | Adjacent | Local | Physical."
    • removedInput schema / properties / attacker_id / description
      Removed value: -"ID of the attacker (e.g., \"T1\")."
    • changedInput schema / properties / attest_position / description
      Previous value: -"Operator-attest the attacker's current position without\nchanging it — e.g. to confirm a fully external attacker's empty\ncrossed set so an objective blocked on an unpositioned attacker can\nbe resolved. Pass ``true`` to attest."New value: +"true attests the current position."
    • addedInput schema / properties / attest_privileges
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "true attests the current ``privileges_required``,\nwhatever its value."
      +}
    • changedInput schema / properties / attest_surface_extent / description
      Previous value: -"Record the extent already on the attacker as\nattested, without changing its value. Pass ``true`` to attest;\nrequires ``change_reason``."New value: +"true attests the current extent."
    • removedInput schema / properties / capability / description
      Removed value: -"New capability (optional)."
    • changedInput schema / properties / capability_prevalence / description
      Previous value: -"\"Commodity\" | \"Targeted\" | \"Rare\"."New value: +"Commodity | Targeted | Rare."
    • changedInput schema / properties / change_reason / description
      Previous value: -"Required when any factor field, ``surface_extent``\nor ``attest_surface_extent`` is supplied — documents the\noperator override for the audit trail."New value: +"Why; required as above."
    • removedInput schema / properties / likelihood_rationale / description
      Removed value: -"New rationale (optional)."
    • removedInput schema / properties / model_id / description
      Removed value: -"ID of the threat model."
    • removedInput schema / properties / position / description
      Removed value: -"New position (optional)."
    • changedInput schema / properties / privileges_required / description
      Previous value: -"\"None\" | \"Low\" | \"High\"."New value: +"None | Low | High."
    • changedInput schema / properties / surface_extent / description
      Previous value: -"``\"whole\"`` (operations range over ANY entry of the\ninterface reached) or ``\"point\"`` (one named entry). Supplying\nit attests it; requires ``change_reason``."New value: +"``whole`` (any entry of the interface reached) or\n``point`` (one named entry)."
    • changedInput schema / properties / trust_boundary_ids / description
      Previous value: -"Comma-separated trust boundary IDs — the boundaries\nthis attacker has crossed (its position). Replaces the existing set.\nChanging it operator-attests the position, which lets reachability\ntrust it for a decisive verdict."New value: +"Comma-separated ids of the boundaries the\nattacker has crossed; replaces the set."
    • changedInput schema / properties / user_interaction / description
      Previous value: -"\"None\" | \"Required\"."New value: +"None | Required."
  3. Changed3 schema fields changedv0.77.0
    • addedInput schema / properties / attest_surface_extent
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Record the extent already on the attacker as\nattested, without changing its value. Pass ``true`` to attest;\nrequires ``change_reason``."
      +}
    • changedInput schema / properties / change_reason / description
      Previous value: -"Required when any factor field is supplied —\ndocuments the operator override of LLM-generated factors."New value: +"Required when any factor field, ``surface_extent``\nor ``attest_surface_extent`` is supplied — documents the\noperator override for the audit trail."
    • addedInput schema / properties / surface_extent
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "``\"whole\"`` (operations range over ANY entry of the\ninterface reached) or ``\"point\"`` (one named entry). Supplying\nit attests it; requires ``change_reason``."
      +}
  4. Addedv0.62.2
  5. Removedv0.62.0
  6. Changed2 schema fields changedv0.60.1
    • addedInput schema / properties / attest_position
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Operator-attest the attacker's current position without\nchanging it — e.g. to confirm a fully external attacker's empty\ncrossed set so an objective blocked on an unpositioned attacker can\nbe resolved. Pass ``true`` to attest."
      +}
    • changedInput schema / properties / trust_boundary_ids / description
      Previous value: -"Comma-separated trust boundary IDs (replaces existing)."New value: +"Comma-separated trust boundary IDs — the boundaries\nthis attacker has crossed (its position). Replaces the existing set.\nChanging it operator-attests the position, which lets reachability\ntrust it for a decisive verdict."
  7. First observedv0.57.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly does: it discloses versioning side effects ('creates a model version'), rating_pending settlement behavior, that new-word rating is a paid call 'at your cost', that privileges never move once attested, and that unattested program edits park an escalation rather than returning a 403. Error behavior (400/409/502/503) is spelled out. What is missing is any statement of reversibility or of the consequences of a mistaken overwrite for non-factor fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the body is over-compressed backtick-heavy prose whose clauses ('never makes a universal clause existential') are hard to parse on one reading. The information largely earns its place, yet the packing costs more comprehension than a few extra sentences would.

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?

For a 19-parameter mutation tool with no annotations, the definition covers side effects, concurrency, refusal cases, and error codes well, and it need not explain return values since an output schema exists (its mention of model/entities/attestation is light reinforcement rather than duplication. The unexplained minority of parameters is the main residual gap.

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?

At 58% schema coverage, the description adds real meaning: change_reason's conditional requirement, capability's expected 'From [position], the attacker can …' form and its quality_warning, 'point' extent being refused in a multi-component case, and that likelihood is derived rather than supplied. Several parameters (evidence, archetype, likelihood_rationale, capability_prevalence, server_version) get no explanation in either place.

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 opening clause 'Edit an attacker; only the fields given change' states a specific verb, resource, and partial-update semantics, which separates it from add_attacker. The remaining two dense paragraphs are about internal mechanics rather than sharpening the purpose, and the tool it most needs to be distinguished from (add_attacker, for creating rather than editing) is never explicitly contrasted.

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?

It names a concrete alternative with its trigger: on 409 privileges_from_holdings, 'say what it holds instead (answer_attacker_credentials)'. It also gives recovery guidance (409 on stale model: 'read it again') and a rule for attest_* versus direct edits. It stops short of general when-to-use framing, such as when to edit versus create a new attacker.

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