Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Add Proposed Attacker

add_proposed_attacker

Adds the closure-proposed attacker for a credential set, creating a model version and returning the result or escalation when approval is needed.

Instructions

Add the attacker the attacker closure proposes for a credential set. Mutating; creates a model version.

Name the proposal by its credential_classes as get_behavioural_attackers lists it (a dismissed one may be added), and a part of the zones nobody stands at by one of its zones where another proposal holds the same classes. The attacker holds them, with the privileges they give and no position but the tenant-isolation boundaries a per-tenant holder is placed at. It is rated as add_attacker rates: one call before the write, charged to the caller, its privileges the ones it holds gives. Where no rating answers, or when a person accepts a parked addition, it is added unrated (rating_source: "unrated"), and reevaluate_threat_model_factors with unrated_only rates it. Refused with 409 not_proposed when no attacker is proposed for exactly that set now (read the attackers again), 409 ambiguous_proposal when several are and no zone names one (its zones lists each), 409 closure_not_offered, 422 unknown_class.

A program's addition is a judgment. Unless the workspace's delegation policy admits it, it is refused with 403 and an escalation_id and parked for a person. Do not retry: report the escalation_id and poll list_proposals.

Returns {model_id, model_version, applies, credential_classes, counts, added, rating_source}: how many proposals, dismissals and questions the closure now holds, added, the new attacker's id, and whether a rating answered (unrated when none did).

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

Input Schema

NameRequiredDescriptionDefault
zoneNoA zone of the part to add, where two proposals hold the same classes; empty otherwise.
evidenceNo
model_idYesID of the threat model.
server_versionYes
credential_classesNoComma-separated class ids of the proposal; empty for the one holding none.

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.94.0
    • addedInput schema / properties / zone
      Added value: +{
      +  "default": "",
      +  "description": "A zone of the part to add, where two proposals hold the same\nclasses; empty otherwise.",
      +  "type": "string"
      +}
  3. Addedv0.90.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does: it declares the mutation and model-version side effect, the rating cost model (one rated call charged to the caller before the write), the unrated fallback with rating_source, and the delegation/escalation path where a program's action is parked for a person. It enumerates specific failure codes (409 not_proposed, 409 ambiguous_proposal, 409 closure_not_offered, 422 unknown_class) and the return payload 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 purpose and the not-to-retry warning are front-loaded, which is good, but the middle sections are dense and convoluted, e.g. "It is rated as ``add_attacker`` rates: one call before the write, charged to the caller, its privileges the ones it holds gives." ReStructuredText double-backtick markup adds visual noise without helping an agent parse the meaning.

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 complex mutating operation with escalation semantics, the definition covers preconditions, failure modes, rating behavior, and recovery steps thoroughly. The return-value restatement is partly redundant given an output schema exists, but the remaining coverage leaves an agent able to call and handle this tool correctly.

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 60%, so the description must add meaning and largely does: credential_classes is explained as the proposal's identifier (empty for the class-less proposal), matching the schema's comma-separated format, and zone is explained as the disambiguator when two proposals hold the same classes. server_version and evidence get no explanation in either schema or description, leaving one gap.

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 sentence gives a specific verb and resource ("Add the attacker the attacker closure proposes for a credential set") and immediately flags the mutation ("Mutating; creates a model version"). The proposal-derived scope implicitly separates it from the direct sibling add_attacker, though it never names that sibling explicitly as an alternative.

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 states the preconditions for a valid call (a proposal must exist for exactly that credential set, a zone is needed to disambiguate when several proposals share classes) and prescribes recovery actions on failure: re-read attackers on 409 not_proposed, and poll list_proposals on a parked 403 rather than retrying. It lacks an explicit "use add_attacker instead when..." comparison, hence not a 5.

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