Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Get Entity

get_entity

Fetches a single threat-model entity by ID and type—asset, attacker, component, trust boundary, or assumption—returning its native record for read-only inspection.

Instructions

Get a single entity of any core type by ID. Read-only.

Dispatches on entity_type to the per-type read and returns that type's native record as-is (not wrapped in an array):

  • asset — the asset's typed fields. Soft-deleted assets carry deleted: true; the caller decides whether to surface them. entity_id e.g. A-01. A live asset or attacker also carries quality: the quality check's outcome (clean, advice, defect, question, invalid, or unchecked while none answers it as it stands), the warning, the proposed correction or the question, and the input_hash that apply_entity_proposals and answer_entity_question name. A waiting check adds check: {"queued": true, "runs_after"}: read again after runs_after, never re-request it. quality.last_verdict is the verdict before the latest answers, never current.

  • attacker — the attacker with its factor decomposition, its surface_extent (unset / point / whole) and surface_extent_source, which says whether a person attested it. Soft-deleted attackers carry deleted: true. entity_id e.g. T-03.

  • component — the component. Speculative components (repo_url="") are returned as-is: the empty repo IS the lifecycle state, not an error. entity_id e.g. CMP-01.

  • trust_boundary — the boundary incl. its passes set (closed-vocabulary subset of {Network, Adjacent, Local, Physical}). entity_id e.g. TB-Net.

  • assumption — the assumption with its override applied (mirrors list_assumptions' merge for one entity: typed fields, the structured exclusion predicate when present, and the override layer — status / justification / linked CO IDs). Soft-deleted assumptions carry deleted: true. entity_id e.g. AS-01.

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>",
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>"
    },
    "name": "get_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYesID of the threat model.
entity_idYesID of the entity to fetch.
entity_typeYesWhich entity to read — one of ``asset``, ``attacker``, ``component``, ``trust_boundary``, ``assumption``.
server_versionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.68.2

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the burden well: it declares read-only, that the record is returned natively rather than wrapped in an array, per-type soft-delete flags, the pending-check state with its re-read instruction, and that speculative components (repo_url="") are a lifecycle state rather than an error. It omits permission requirements and not-found/error behavior, so it falls short of fully comprehensive.

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 one-line summary is properly front-loaded and the bulleted per-type structure aids scanning. However, roughly two-thirds of the text documents return-field semantics (quality block, last_verdict caveat, proposed correction, input_hash) for a tool that already has an output schema, so a meaningful share of the content duplicates structured data.

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 dispatch-style read tool the description covers the polymorphic return shape thoroughly, including edge states an agent would otherwise misread. Remaining gaps are modest: error/not-found behavior and the relationship between entity_id and model_id are unstated.

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 75%, and the description adds real meaning the schema lacks: the five entity_type values are enumerated with per-type record semantics, and entity_id formats are shown concretely for each (A-01, T-03, CMP-01, TB-Net, AS-01). model_id and server_version are not elaborated, which the schema partially covers.

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 ("Get a single entity of any core type by ID") and marks it read-only, which separates it from the mutating siblings such as remove_entity or apply_entity_proposals. It does not systematically contrast with list-style readers, but the singular-object scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the ID-based lookup framing, and there is targeted situated guidance ("the caller decides whether to surface" soft-deleted records; "read again after runs_after, never re-request it"). There is no explicit when-to-use-this-vs-alternative routing and no guidance for a non-existent ID or wrong entity_type.

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