Skip to main content
Glama
kix-mcp-server

kix-mcp-server

by mrtnzzzt3ch

kix_prepare_asset

Prepares a new asset for controlled creation by validating class, status, and required attributes, then returns a preview of only the chosen changes; a separate approval step is required.

Instructions

Prepare one asset creation, no business write. Disabled by default; separate writer.

Read current class definition, validate local field/class/status policies and required simple values. Names/text are untrusted data. Preview contains only chosen changes, never raw Data. Independent local kix-asset-write show/approve required. Creates/ends an auth session.

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": {
      "class_id": "<class_id>",
      "name": "<name>",
      "deployment_state_id": "<deployment_state_id>",
      "incident_state_id": "<incident_state_id>",
      "attributes": "<attributes>"
    },
    "name": "kix_prepare_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
class_idYes
attributesYes
incident_state_idYes
deployment_state_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.30.2

TDQS

A3.9/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that the tool is disabled by default, requires an out-of-band approval step, and "Creates/ends an auth session" — a side effect not captured by any annotation. It also documents the security posture ("Names/text are untrusted data", preview excludes raw Data), which is exactly the context an agent needs before invoking a non-idempotent, open-world operation.

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-loads the key distinction (prepare vs. write) in the first clause and every subsequent line carries real information — approvals, session lifecycle, preview contents. The telegraphic fragments ("no business write", "separate writer") read awkwardly but do not waste space.

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 shape need not be described, and the description covers the genuinely unusual aspects: gated approval, session creation, and preview scoping. What is missing is lifecycle detail — whether the preview expires, how it is later referenced by the writer, and what a validation failure returns — which matters for a two-phase prepare/commit workflow.

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% across five required parameters including a nested attributes object, so the description must carry the load and largely does not. It never explains class_id, deployment_state_id, incident_state_id, or the attributes map, offering only the vague "validate local field/class/status policies and required simple values," plus a note that names are untrusted (with no mention of the 128-char bound).

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?

States a specific action ("Prepare one asset creation") and immediately bounds it with "no business write; separate writer," which lets an agent tell it apart from the actual create/write sibling. It never names kix_create_asset directly, so the routing contrast is implied rather than explicit, but the verb+resource+scope is unambiguous.

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 preconditions: disabled by default, requires "Independent local kix-asset-write show/approve," and it produces a preview rather than a result. It does not spell out the follow-up step (what to do with the preview once approved) or failure conditions, so it stops short of full when/when-not guidance.

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