Skip to main content
Glama
kix-mcp-server

kix-mcp-server

by mrtnzzzt3ch

kix_set_ticket_state

Apply one locally approved KIX ticket state change after fresh target checks, sending only the state ID via PATCH and blocking retries on uncertain outcomes.

Instructions

Execute one independently locally approved state change, with fresh target checks.

Sends only Ticket.StateID via PATCH. Closing may unlock; automation/notifications may run. No atomic If-Match guarantee. Partial/uncertain outcomes block retries. Confirmed repeat returns a stored historical receipt without network, not a fresh state observation.

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": {
      "plan_id": "<plan_id>",
      "sha256": "<sha256>"
    },
    "name": "kix_set_ticket_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha256Yes
plan_idYes

Output Schema

NameRequiredDescriptionDefault
lock_idYes
plan_idYes
replayedNo
state_idYes
lock_nameYes
ticket_idYes
verificationNostate_and_bound_fields
previous_state_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.30.2

TDQS

A3.7/5.0
Behavior5/5

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

With annotations already declaring the non-read-only, open-world, non-idempotent profile, the description still adds substantial context the agent could not get elsewhere: exactly which field is patched, that closing may unlock, that automation and notifications may fire, that there is no atomic If-Match guarantee, that partial or uncertain outcomes block retries, and that a confirmed repeat returns a cached receipt rather than a live state read. These are the precise operational caveats needed to invoke this safely.

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 critical constraint is front-loaded in the first sentence, and the remaining sentences are terse, non-redundant notes covering payload, side effects, and retry semantics. The telegraphic style is dense but every line carries information; it is only slightly clipped where an explicit link to the prepare tool would aid readability.

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 described, and the description covers the mutation's side effects, failure modes, and retry blocking well. The main omission is the provenance of the required approval artifacts, which is the one thing an agent needs before it can call this at all.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is explained in the text. plan_id and sha256 appear only as bare hex-patterned strings; the description gestures at "locally approved" but never says the sha256 is an approval digest of the plan or that plan_id comes from a prepare call. For a two-parameter tool with zero schema documentation, this leaves the agent guessing.

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 description opens with a specific verb and object: "Execute one independently locally approved state change." It also pins the payload ("Sends only Ticket.StateID via PATCH"), which is more precise than the bare name. It stops short of naming kix_prepare_ticket_state as the producer of the approved plan, so sibling differentiation is implied rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "independently locally approved state change" implies this is the execution half of a prepare/execute pair and that a prior approval step is required, and "one" implies a one-change-per-call limit. However, it never tells the agent where plan_id and sha256 come from or when to prefer a different tool. Usage is inferable but not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.