Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Answer Behavioural Questions

answer_behavioural_questions

Submit answers to open behavioural questions in one call, recording facts or dispositions and optionally triggering model extraction.

Instructions

Answer open behavioural questions, many in one call. Mutating; creates a model version.

Answer only from what the code or the owner shows; else unknown. With no behavioural model yet, an extraction runs once every holding question is answered, or on extract_now, billed as billed_to says (409 extraction_running: poll). With one, extract_now alone is a regeneration estimate. collect_only starts no extraction; dry_run=True records nothing. A fact correcting earlier answers names their ids in replaces; none is read again. premise: true records a fact as a premise, taken on the owner's behalf where no authoritative source states it: read as a fact, shown apart for a person to confirm, never narrowing (a narrowing one is proposed, not applied).

An answer is a fact (text), or a disposition its question lists: not_needed, not_behaviour, unknown, as_stated; text is then a note. A question about the model's own structure carries structured: its answer is the shape to send (e.g. {"describes": [...]}), the rest the ids it may name; a key the shape lacks is refused 422 structured_malformed, naming the shape. A contents id not offered is a new element there. It edits the model at once (new_zones, new_actors: 409 id_in_use). Where the code does more or less than the sentence, add contradicts: {"direction": "code_does_more" | "code_does_less", "quote"?} (409 drift_is_defect over a defect's sentence).

Where a question's structured_forms lists structured or as_stated, answer with that value; text is then a note never read into the model. Words alone are refused 422 structured_value_required (naming forms_offered and a row's answer shape). Only words marked beyond_structure: true are read, when the answer says more than the form holds. A correction (replaces) needs no mark.

A program's answer is a judgment: 403 with an escalation_id unless delegated. Do not retry; poll list_proposals.

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

Input Schema

NameRequiredDescriptionDefault
answersNoJSON array of ``{"question_id", "text"?, "disposition"?, "structured"?, "contradicts"?, "replaces"?, "beyond_structure"?, "premise"?}``, e.g. '[{"question_id": "q1", "text": "Only the owner deletes.", "beyond_structure": true}, {"question_id": "q3", "structured": {"classes": ["org_admin"]}}]'. ``beyond_structure`` is a bool, only on a fact in words with a non-empty ``text``, never beside ``structured``.[]
dry_runNoReturn what the answers would do (``outcome``) and record nothing. Default False.
evidenceNo
model_idYesID of the threat model.
extract_nowNoExtract now, with the answers collected.
collect_onlyNoStart no extraction (words are read anyway over a model with one); not with extract_now.
server_versionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.113.0
    • changedInput schema / properties / answers / description
      Previous value: -"JSON array of ``{\"question_id\", \"text\"?, \"disposition\"?,\n\"structured\"?, \"contradicts\"?, \"replaces\"?}``, e.g. '[{\"question_id\": \"q1\",\n\"text\": \"Only the owner deletes.\"}, {\"question_id\": \"q3\",\n\"structured\": {\"classes\": [\"org_admin\"]}}]'."New value: +"JSON array of ``{\"question_id\", \"text\"?, \"disposition\"?,\n\"structured\"?, \"contradicts\"?, \"replaces\"?, \"beyond_structure\"?,\n\"premise\"?}``,\ne.g. '[{\"question_id\": \"q1\", \"text\": \"Only the owner deletes.\",\n\"beyond_structure\": true}, {\"question_id\": \"q3\",\n\"structured\": {\"classes\": [\"org_admin\"]}}]'. ``beyond_structure``\nis a bool, only on a fact in words with a non-empty ``text``,\nnever beside ``structured``."
    • changedInput schema / properties / collect_only / description
      Previous value: -"Record without an extraction; not with extract_now."New value: +"Start no extraction (words are read anyway over a\nmodel with one); not with extract_now."
  2. Changed1 schema field changedv0.106.1
    • addedInput schema / properties / evidence
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  3. Changed2 schema fields changedv0.105.1
    • changedInput schema / properties / answers / description
      Previous value: -"JSON array of ``{\"question_id\", \"text\"?, \"disposition\"?,\n\"structured\"?, \"contradicts\"?}``, e.g. '[{\"question_id\": \"q1\",\n\"text\": \"Only the owner deletes.\"}, {\"question_id\": \"q3\",\n\"structured\": {\"classes\": [\"org_admin\"]}}]'."New value: +"JSON array of ``{\"question_id\", \"text\"?, \"disposition\"?,\n\"structured\"?, \"contradicts\"?, \"replaces\"?}``, e.g. '[{\"question_id\": \"q1\",\n\"text\": \"Only the owner deletes.\"}, {\"question_id\": \"q3\",\n\"structured\": {\"classes\": [\"org_admin\"]}}]'."
    • addedInput schema / properties / collect_only
      Added value: +{
      +  "default": false,
      +  "description": "Record without an extraction; not with extract_now.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv0.90.0
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Return what the answers would do (``outcome``) and record\nnothing. Default False.",
      +  "type": "boolean"
      +}
  5. Changed2 schema fields changedv0.88.0
    • changedInput schema / properties / answers / description
      Previous value: -"JSON array of ``{\"question_id\": \"...\", \"text\": \"...\",\n\"disposition\"?: \"...\"}``. Example: '[{\"question_id\": \"q1\",\n\"text\": \"Only the owner can delete a record.\"}, {\"question_id\":\n\"q2\", \"disposition\": \"unknown\"}]'. Empty to extract with answers\ncollected."New value: +"JSON array of ``{\"question_id\", \"text\"?, \"disposition\"?,\n\"structured\"?, \"contradicts\"?}``, e.g. '[{\"question_id\": \"q1\",\n\"text\": \"Only the owner deletes.\"}, {\"question_id\": \"q3\",\n\"structured\": {\"classes\": [\"org_admin\"]}}]'."
    • changedInput schema / properties / extract_now / description
      Previous value: -"Extract now, with the answers given and those already\ncollected."New value: +"Extract now, with the answers collected."
  6. Addedv0.87.0

TDQS

A4.1/5.0
Behavior4/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 so well: it discloses mutation and model-version creation, the deferred-extraction trigger, billing via billed_to, dry-run non-recording, immediate model edits (new_zones/new_actors), and specific failure modes (409 extraction_running, 409 id_in_use, 409 drift_is_defect, 422 structured_malformed, 422 structured_value_required). It does not explain reversibility of recorded facts or what a partially accepted batch means, which keeps it short of a 5.

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 critical facts are front-loaded, and most sentences carry real information, but the body is one dense block of jargon-heavy clauses joined by semicolons, with error codes interleaved into behavior prose. It is efficient in word count yet hard to scan, and the structured-answer rules are split across two separate paragraphs rather than consolidated.

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, side-effecting tool with seven parameters, the definition covers mutation effects, extraction lifecycle, error handling, and answer shapes thoroughly, and an output schema exists so return values need no explanation. Remaining gaps are minor: evidence and server_version are never described, and batch-failure semantics 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 71%, and the prose adds genuine semantics beyond it: the disposition vocabulary (not_needed, not_behaviour, unknown, as_stated), the meaning of premise, the beyond_structure marking rule, and the rejects-422 behavior when prose is submitted where a structured form is offered. The evidence parameter receives no explanation, 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 ('Answer open behavioural questions, many in one call') and immediately flags that it is mutating and creates a model version. It is clearly distinguishable from answer_entity_question and answer_attacker_credentials by resource, though the description never names those siblings explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines5/5

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

It states when extraction fires with and without an existing behavioural model, when extract_now versus collect_only versus dry_run applies, when a structured answer is mandatory versus when prose is read, and how correction via replaces behaves. It also gives an explicit negative instruction: on a 403 with an escalation_id, do not retry and instead poll list_proposals.

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