Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Decide Inventory Pair

decide_inventory_pair

Decide whether two inventory entries represent the same or different entity; the verdict binds to both entries' texts and is voided if either entry changes.

Instructions

Decide that two entries of a model's inventory are, or are not, one entity. Mutating; creates no model version; a judgment.

The decision is bound to both entries' texts: while it stands it replaces the checks' answers for the pair, and an edit of either entry voids it. same keeps the pair shown until a person removes one of the two (remove_entity); nothing is merged. Refused 422 two_elements for two assets that are each an element of the behavioural model (two elements are two things), 422 same_entity, 404 unknown_entity.

A program's decision is refused with 403 and an escalation_id unless the workspace's delegation policy names inventory_pair_decided. Do not retry: report the escalation_id and poll list_proposals.

Returns {pair, entity_kind, verdict, decided_at, objectives}, objectives counting those resting on the two entries.

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_kind": "<entity_kind>",
      "a": "<a>",
      "b": "<b>",
      "verdict": "<verdict>"
    },
    "name": "decide_inventory_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesOne entry's id (e.g. "A-12").
bYesThe other entry's id.
verdictYes``same`` or ``different``.
evidenceNo
model_idYesID of the threat model.
rationaleNoWhy (at most 2000 characters).
entity_kindYes``asset`` or ``attacker``.
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.91.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it declares the operation mutating, states no model version is created, explains the decision is bound to both entries' texts and is voided by an edit, clarifies that 'same' merges nothing and merely keeps the pair visible, and enumerates specific failure codes (422 two_elements, 422 same_entity, 404 unknown_entity, 403 with escalation_id plus a no-retry instruction).

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?

Front-loaded with the core operation and scope, then layered with preconditions and error behavior; nearly every sentence carries operational weight. Some phrasing is jargon-dense (the parenthetical gloss on two_elements) and the multi-paragraph layout is harder to scan than a short bulleted form would be.

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, so return values need not be detailed, yet the description still narrates the shape helpfully; error taxonomy, delegation-policy gate, and mutation semantics are all covered for a complex 8-parameter tool. It leaves open what the 'different' verdict does to the pair after the decision, a minor but relevant gap.

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 75% and the description adds genuine meaning beyond it: the verdict's effect ('same' keeps the pair shown, nothing merged), the binding of the decision to both entries' texts, and the meaning of the returned objectives count resting on the two entries. The evidence parameter's purpose is still only inferable, keeping it from 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?

States a specific verb and resource: deciding whether two entries of a model's inventory are one entity, explicitly framed as a judgment that creates no model version. It is clearly distinguishable from siblings like remove_entity and list_proposals, which are named in their respective roles.

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 when-to-use context and exclusions: refused for two behavioural-model elements, refused for an already-decided same entity, and it explains that removal of one entry is the job of remove_entity rather than this tool. It also prescribes the escalation path (report escalation_id, poll list_proposals, do not retry), though it does not contrast against get_inventory_judgements or request_inventory_checks by name.

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