Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Answer Entity Question

answer_entity_question

Answers a quality-check flag or question raised on a threat-model asset or attacker with documentation- or code-based evidence, then queues that entity's check again.

Instructions

Answer, with a fact, the flag the quality check raised about an asset or attacker. Mutating; creates no model version.

An entity's quality (on get_entity, the build proposal's flagged entities or the review queue's entity_quality row) carries the verdict's outcome and input_hash. Any flag may be answered: question (answer its question), defect or invalid (answer its warning, for instance where it reads a true claim as not established and the documentation or the code establishes it). Answer from the documentation or the code, stating what the system does and where that is shown; never guess, and never weaken a true claim to clear a flag. The answer is kept with the entity, shown to every later check of it, and queues that entity's check again (and no other's). That check is paid, charged to whoever answers: billing says which balance it is charged to and at most how many credits it costs, and message says the same in words. Each answer queues a check of its own, so answer only the flags the documentation or the code settles, and relay the cost to the person before answering many. The answer decides nothing: from the moment it is stored the entity reads unchecked (its flag is no longer served) until that check runs, and the check may flag it again, or propose a correction to apply with apply_entity_proposals. Where a call's response is lost, read the entity before answering again.

Refused 409 stale when the entity, or what it is judged with, changed since the verdict (read it again), 409 not_flagged when no question, defect or invalid verdict stands, 404 for an entity the model does not hold.

Returns {entity_id, answer_id, answered_at, question, queued, billing, message}.

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_id": "<entity_id>",
      "text": "<text>",
      "input_hash": "<input_hash>"
    },
    "name": "answer_entity_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe answer (at most 4000 characters).
evidenceNo
model_idYesID of the threat model.
entity_idYesThe asset or attacker (e.g. "T-04").
input_hashYesThe verdict's ``input_hash`` as it was read.
server_versionYes

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.97.0

TDQS

A4.6/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 so thoroughly: it discloses the paid cost and billing/message fields, that each answer re-queues that entity's check only, that the entity reverts to 'unchecked' until the check runs and may be re-flagged, the idempotent-retry advice for lost responses, and the exact 409 stale / 409 not_flagged / 404 error semantics. This is unusually complete behavioral disclosure.

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?

The core action is front-loaded in the first sentence with a semicolon-delimited mutation note, and most sentences carry non-redundant information (cost, queue behavior, errors). It is somewhat long and repeats the queueing/billing concept twice ('queues that entity's check again' and 'Each answer queues a check of its own'), which trims it below top marks.

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, costly, state-changing operation with stale-state races, the description covers everything an agent needs: verdict/input_hash provenance, cost propagation to a human, retry-on-lost-response, and full error taxonomy. Return values are listed and an output schema also exists, so no gap remains.

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 67%, and the description compensates by explaining that input_hash is 'the verdict's input_hash as it was read' and implies evidence via 'stating what the system does and where that is shown.' The undocumented evidence and server_version parameters are only partially covered, and model_id/entity_id add nothing beyond the schema.

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?

Opens with a specific verb+resource+object: 'Answer, with a fact, the flag the quality check raised about an asset or attacker,' and immediately adds the mutation character ('Mutating; creates no model version'). This is clearly distinguishable from sibling write tools like apply_entity_proposals (which applies corrections) and get_entity (which reads).

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 strong when-to-use and when-not-to-use guidance: every flag type (question/defect/invalid) maps to the field to answer, and it warns to 'answer only the flags the documentation or the code settles' and never to weaken a true claim. It also routes to apply_entity_proposals for corrections. It does not, however, distinguish this tool from the similarly named answer_attacker_credentials and answer_behavioural_questions siblings.

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