Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Apply Entity Proposals

apply_entity_proposals

Applies quality-check corrections to assets and attackers in one new threat model version, returning per-entity outcomes for proposed wording, drops, and adds.

Instructions

Accept the quality check's corrections of assets and attackers, in one new model version.

Applying is accepting: a judgment normally the owner's. A program's is parked for a person (refused, with escalation_id: do not retry) unless the workspace delegates entity_correction_accepted. A doubted claim you can establish, or take conservatively, is answered with answer_entity_question instead; a property that does not apply is declared not applicable, since a correction never removes one.

Read the correction as quality on get_entity (or the review queue's entity_quality row): proposed holds the corrected words, proposal_hash names them, input_hash the verdict, drops each claim the words before made that the correction does not, and adds each claim it makes that they did not (a security property it adds among them), with why. RELAY proposed, drops AND adds TO THE PERSON. Dropping a claim makes it a narrowing, adding one (or a property) a widening, both narrowing+widening, neither a rewording; a program applies it only under a rule naming every kind it carries. Under a rule of rewording alone, a claim every reader missed is applied: the residual that policy accepts. It never moves a position, credentials or components; the entity is rated for its new words, a person's rating kept and the new one held pending (settle_entity_rating).

One outcome per entity: applied (correction_kind); unbound (no proposal_hash: the correction and its hash are returned); refused; property_removed (never written); rejected (another entity, a duplicate, or internal identifiers, reason says); stale (read it again); none; unavailable (try again). One entity never stops the others; a model changed since it was read writes nothing, each such item stale beside conflict.

Returns {results, version?, conflict?}.

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>",
      "proposals": "<proposals>"
    },
    "name": "apply_entity_proposals"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidenceNo
model_idYesID of the threat model.
proposalsYesJSON array of ``{"entity_id", "input_hash", "proposal_hash"}``, each ``input_hash`` and ``proposal_hash`` as the verdict 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. Changed1 schema field changedv0.100.0
    • changedInput schema / properties / proposals / description
      Previous value: -"JSON array of ``{\"entity_id\", \"input_hash\"}``, each\n``input_hash`` as the verdict was read."New value: +"JSON array of ``{\"entity_id\", \"input_hash\",\n\"proposal_hash\"}``, each ``input_hash`` and ``proposal_hash`` as\nthe verdict was read."
  3. Addedv0.97.0

TDQS

A4/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 delegation requirements for entity_correction_accepted, the parked/refused state with escalation_id and an explicit 'do not retry', what it never touches (position, credentials, components), rating settlement behavior, per-entity atomicity, and stale/conflict handling when the model changed since read.

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?

Most sentences carry load, particularly the outcome enumeration, but the definition is very long and written in tight, backtick-laden shorthand that is hard to parse on first read. The single most important sentence (what the tool does) is front-loaded, but later structure is a wall of nested clauses rather than scannable grouping.

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?

An output schema exists and the description still summarizes the returned shape, and it covers behavior, permissions, failure modes, and side effects extensively without annotations. It is nearly complete for a mutation tool of this complexity, with the main shortfall being undocumented input parameters rather than missing behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 50% schema coverage, the description adds meaning for proposal_hash and input_hash (what each names) within the narrative, but says nothing about server_version, model_id, or evidence. The proposals parameter is already well documented in the schema, so the description only marginally compensates for the uncovered half.

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: accept the quality check's corrections of assets and attackers into one new model version. It also names a sibling route (answer_entity_question) and a follow-on (settle_entity_rating). The core purpose is clear though it is buried under dense, jargon-heavy prose.

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?

It gives real routing guidance: doubtable claims should go to answer_entity_question, a property that does not apply is declared not applicable rather than removed, and programmatic application requires a rule naming every correction kind it carries. It does not address other plausible siblings like decide_proposals or list_proposals, but per the guidance alternatives are not inferred from omitted names.

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