Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Get Behavioural Model

get_behavioural_model

Read a model's behavioural model to inspect elements, actions, zones, extraction status, open questions, and stored answers for review or correction.

Instructions

Read a model's behavioural model: what the system does, as elements, actions and zones taken from its description. Read-only.

status: none (extract_behavioural_model gives it one), needs_answers, extracted, confirmed, stale (the description changed since) or extracting. questions are the open ones, answered with answer_behavioural_questions; one carrying structured takes a structured answer, one with awaiting_fix was answered. Each carries structured_forms. pending_answers: collected, not extracted. ir_hash is what confirm_behavioural_model names. waiting_on names what settles it, waiting_hint says how (reread: reread_behavioural_description). extraction.job: the extraction running in the background (null when none), its progress;extraction.dropped_elements: what it could not keep, each asked by a question of its own (closure dropped), which takes no dismissal. generation_ready: call generate_from_behavioural_model. regeneration_owed and certifications_awaiting_consent show work owed: estimate confirm_behavioural_model first.

view="status" serves no IR and no questions: use it to follow an extraction. view="questions": that and the open questions from offset, limit of them (default 50, at most 200), with total and next_offset. view="answers": every answer stored on the model, standing ones first in the order given, then those a later fact replaced (each with replaced_by), paged the same way, with standing_total, and without the IR or the model's entities. Read it to review or correct the answers a model holds: a full read of a large model cuts its answers first. A page may end early to stay within the size bound (truncated): read on from next_offset until it is null. wait_seconds (0 to 50) waits for the job's state, pass or calls completed to change, sending progress meanwhile; at once when no job runs. Read again after poll_after_seconds.

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

Input Schema

NameRequiredDescriptionDefault
viewNo``full`` (default), ``status``, ``questions`` or ``answers``.full
limitNo``questions`` and ``answers`` views only.
offsetNo``questions`` and ``answers`` views only.
model_idYesID of the threat model.
wait_secondsNo0 (default) answers at once.
server_versionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.110.0
    • changedInput schema / properties / limit / description
      Previous value: -"``questions`` view only."New value: +"``questions`` and ``answers`` views only."
    • changedInput schema / properties / offset / description
      Previous value: -"``questions`` view only."New value: +"``questions`` and ``answers`` views only."
    • changedInput schema / properties / view / description
      Previous value: -"``full`` (default), ``status`` or ``questions``."New value: +"``full`` (default), ``status``, ``questions`` or ``answers``."
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "full",
      -  "status",
      -  "questions"
      -]New value: +[
      +  "full",
      +  "status",
      +  "questions",
      +  "answers"
      +]
  2. Changed4 schema fields changedv0.90.0
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 50,
      +  "description": "``questions`` view only.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "``questions`` view only.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "full",
      +  "description": "``full`` (default), ``status`` or ``questions``.",
      +  "enum": [
      +    "full",
      +    "status",
      +    "questions"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "default": 0,
      +  "description": "0 (default) answers at once.",
      +  "type": "integer"
      +}
  3. Addedv0.87.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose meaningful behavior: read-only, a background extraction job with progress, a size bound that can truncate a page, and polling semantics via wait_seconds and poll_after_seconds. It stops short of stating permissions/auth needs or what a 'stale' model implies for the caller.

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

Conciseness2/5

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

After one clear purpose sentence, the text collapses into a dense wall of backticked field names and parenthetical asides with inconsistent punctuation and spacing. Much of it restates return-payload fields already covered by the output schema, so length is not earned, and an agent must parse it linearly to find the view semantics.

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 six-parameter, multi-view read tool with an output schema, the definition covers the state machine, paging/truncation, and waiting behavior needed to call it correctly. Coverage is arguably over-complete on payload fields while thin on model-level preconditions, so it is complete but not optimally balanced.

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 83%, so the schema baseline applies, but the text adds real meaning the enum description lacks: it explains what each view returns and excludes ('status' serves no IR and no questions; 'answers' omits the IR and entities), states limit bounds (default 50, max 200 vs. schema's 50), and sketches how wait_seconds interacts with a running job. model_id and server_version get no added meaning.

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 line states a specific verb and resource ('Read a model's behavioural model') and defines the payload ('what the system does, as elements, actions and zones taken from its description'), plus 'Read-only'. Sibling tools are referenced incidentally (extract_behavioural_model, confirm_behavioural_model, answer_behavioural_questions, generate_from_behavioural_model, reread_behavioural_description), which helps differentiate, but the phrasing 'read a model's behavioural model' is somewhat circular and differentiation is a side effect rather than deliberate.

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 selection guidance for the view parameter: 'status' to follow an extraction, 'answers' to 'review or correct the answers a model holds', and notes that a full read of a large model cuts answers first. It does not state when not to call this tool or name a reading alternative for elements/actions outside the behavioural model, so it falls short of full when/when-not coverage.

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