Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Settle Entity Rating

settle_entity_rating

Settle a pending rating for an asset or attacker by keeping the person's rating, taking the model's, or setting a chosen rating, resolving the conflict and recording the decision.

Instructions

Settle the rating held pending for an asset or attacker. Mutating.

A rating a person chose is never replaced by a model's: where an entity's words changed, or a re-evaluation answered over it, the model's rating is held pending beside the person's, the more severe of the two in force. get_entity serves the pair as rating_pending (the rating in force and the pending one, who chose each, the words each was made for, and pair_hash); the review queue's rating_pending row lists every such entity. Settling is a judgment (rating_reconfirmed): a program's is parked for a person (403 with an escalation_id: do not retry) unless the workspace's delegation policy names it at the entity's tier. RELAY BOTH RATINGS TO THE PERSON and settle as they choose.

choice: keep_person keeps the person's rating for the words as they stand; take_model takes the model's; set writes another, given in factors. A choice that changes an attacker's attack vector or privileges saves a new model version; any other writes a rating revision. Refused 409 stale with the current pair_hash when the pair or the entity's words moved since it was read (read it again), 409 nothing_pending when no pair is held.

Returns {entity_id, choice, version_created}.

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>",
      "entity_kind": "<entity_kind>",
      "choice": "<choice>",
      "pair_hash": "<pair_hash>"
    },
    "name": "settle_entity_rating"
  }
}

Input Schema

NameRequiredDescriptionDefault
choiceYes``keep_person``, ``take_model`` or ``set``.
factorsNoFor ``set``: a JSON object of the rating's factors (an asset's subscores, blast radius, recoverability and regulatory scope; an attacker's attack vector, privileges required, attack complexity, user interaction and capability prevalence).
evidenceNo
model_idYesID of the threat model.
entity_idYesThe asset or attacker (e.g. "A-03").
pair_hashYes``rating_pending.pair_hash`` as it was read.
rationaleNoFor ``set``: why the rating is what it is.
entity_kindYes``asset`` or ``attacker``.
change_reasonNoWhy it is settled so (kept with the decision).
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.100.0

TDQS

A4.8/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: it declares the tool mutating, explains that a choice touching an attacker's attack vector or privileges creates a new model version while other choices create a rating revision, and documents the 403 escalation_id and 409 stale/nothing_pending failure modes with the correct recovery ('read it again'). That is materially more than the schema conveys.

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 key fact — what the tool does and that it mutates — is front-loaded in the first line, followed by context, choice semantics, side effects, and error codes in a logical order. It is dense and longer than typical, but nearly every sentence carries operative information; only the extended explanation of the pending-pair mechanism edges toward over-explanation.

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 10-parameter mutation tool with no annotations, the description covers authorization/delegation, side effects by choice, both refusal paths with recovery, and the pending-pair data model the caller must have read first. Return values are partly restated but an output schema exists, so nothing an agent needs to invoke this correctly is missing.

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 80%, so the baseline is 3; the description earns above that by giving semantic meaning to choice values (keep_person keeps the person's rating 'for the words as they stand', take_model takes the model's, set writes another in factors) and by tying pair_hash to the 409 stale condition. It adds little on evidence, change_reason, or rationale beyond the schema text, so it stops short of a 5.

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 and resource ('Settle the rating held pending for an asset or attacker') plus an explicit mutation marker. It additionally positions itself against get_entity, which serves the pending pair, so an agent can distinguish reading the pair from resolving it without opening either schema.

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?

Provides explicit when-to-use framing (after reading rating_pending from get_entity or the review queue), the prerequisite for programmatic callers (delegation policy must name the program at the entity's tier, otherwise 403 escalation_id and 'do not retry'), and per-choice guidance for keep_person/take_model/set. It also instructs the agent to relay both ratings to the person, which is a real usage constraint rather than filler.

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