Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Answer Attacker Credentials

answer_attacker_credentials

Record the credential classes an attacker holds in a behavioural threat model; this creates a model version and derives privileges and tenant-boundary placement from those holdings.

Instructions

Say which of the behavioural model's credential classes an attacker holds. Mutating; creates a model version.

Answer from what the code or the owner shows. Empty means it holds no credential. Its privileges follow from what it holds, by rule: None with none, High when a class may invoke an action that writes what decides authority, Low otherwise; edit_attacker then refuses a privileges change (409 privileges_from_holdings). A holder of a per-tenant class is placed at every tenant-isolation boundary, suggested. Refused with 422 unknown_class (a class the model does not have), 409 closure_not_offered (get_behavioural_attackers reads applies: false), 404 no_attacker.

A program's answer 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, attacker}: how many proposals, dismissals and questions the closure now holds (read them with get_behavioural_attackers) and the attacker 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>",
      "attacker_id": "<attacker_id>"
    },
    "name": "answer_attacker_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidenceNo
model_idYesID of the threat model.
attacker_idYesThe attacker (e.g. "T3").
server_versionYes
credential_classesNoComma-separated class ids from ``credential_classes``; empty for 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. Addedv0.90.0

TDQS

A4.6/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 thoroughly: it discloses mutation and version creation, the privilege-derivation rule (None/High/Low), boundary placement for per-tenant classes, and three specific refusal codes (422 unknown_class, 409 closure_not_offered, 404 no_attacker). It also documents the delegation/escalation path with 403 plus escalation_id and warns against retrying, which is exactly the operational detail an agent needs.

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 core action and its mutating nature, then organized into input rules, error codes, escalation handling, and return shape. The density is justified for a rule-heavy tool, though the paragraph restating the return object is partly redundant given an output schema exists.

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 complex, rule-driven mutation with side effects, error paths and an escalation flow, the description covers what an agent must know to call it and to react correctly to every documented failure. The return-shape sentence is a bonus rather than a necessity since an output schema exists.

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 60% schema coverage, the description adds meaning for credential_classes (comma-separated class ids, empty means no credential) and implicitly for evidence ('answer from what the code or the owner shows'). model_id and attacker_id are already documented in the schema; server_version remains unexplained in both, which keeps this below a 5.

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?

Names a specific verb and resource: 'Say which of the behavioural model's credential classes an attacker holds', and immediately states the mutating side effect ('Mutating; creates a model version'). This is clearly distinct from siblings like edit_attacker, get_behavioural_attackers and list_proposals, which are referenced as adjacent actions rather than duplicates.

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?

Gives concrete guidance on input sourcing ('Answer from what the code or the owner shows') and on failure handling ('Do not retry: report the escalation_id and poll list_proposals'). It also explains the edit_attacker interaction (409 privileges_from_holdings). It stops short of an explicit statement of when this tool should be chosen over the other answer_* siblings, but the surrounding context is strong.

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