Skip to main content
Glama
Mipiti MCP Server
by Mipiti

Decide Drift Intent

decide_drift_intent

Decide whether a description-drift finding is intended or a code defect, then record the judgment so the finding can close through revision or verified control assertions.

Instructions

Decide whether a description-drift finding (the code reported to do more, or less, than a sentence of the description) was intended or is a defect of the code. Mutating; a judgment.

intended: the description is behind the product; revise it (create_proposal kind description_revision). defect: the description is the design and the code is wrong; name in control_id the control whose assertions check the behaviour as designed. The finding closes when one of its assertions passes verification at a commit not earlier than this decision, and while it stands an answer that would write the defect into the model is refused (409 drift_is_defect).

A program's decision is refused with 403 and an escalation_id unless the workspace's delegation policy names drift_intent_decided: do not retry; report it, or raise a drift_intent proposal for a person.

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>",
      "finding_id": "<finding_id>",
      "intent": "<intent>"
    },
    "name": "decide_drift_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhy.
intentYes``intended`` or ``defect``.
evidenceNo
model_idYesID of the threat model.
control_idNoFor a defect, the control whose passing assertion closes it.
finding_idYesThe description-drift finding (``list_findings``).
head_commitNoThe commit you read the code at.
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.88.0

TDQS

A4.6/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: it declares the operation mutating and a judgment, explains the closing condition (an assertion passing verification at a commit not earlier than this decision), the 409 drift_is_defect refusal, and the 403 escalation_id behaviour with an explicit no-retry instruction. That is richer disclosure than most annotated tools provide.

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 judgement and the two-outcome branch are front-loaded, and the permission paragraph is clearly separated at the end. The middle sentence about the closing condition is dense and slightly convoluted, but every sentence contributes operational information.

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?

An output schema exists, so return-value detail is unnecessary, and the description covers the remaining gaps an agent would hit: intent consequences, the closing lifecycle, and the delegation-policy refusal path. Nothing needed to call this mutation correctly and interpret its failures 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 75% and the description adds real meaning beyond the field descriptions: it spells out the consequence of each ``intent`` value and explains that ``control_id`` must name the control whose assertions check the behaviour as designed. ``evidence``, ``note`` and ``head_commit`` are left to the schema, which is acceptable at this coverage level.

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 — decide whether a description-drift finding was intended or is a code defect — and defines the two outcomes in product terms (description behind product vs. code wrong). It also distinguishes the follow-on path by naming create_proposal with kind description_revision, so an agent can place it against siblings.

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 explicit routing per intent value (revise the description vs. name a control in control_id) and tells the agent what to do on a 403: do not retry, report it or raise a drift_intent proposal. It stops short of stating when a drift finding should not be decided at all, but the when-to-use guidance is otherwise concrete.

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