Skip to main content
Glama
kix-mcp-server

kix-mcp-server

by mrtnzzzt3ch

kix_get_ticket_contact

Resolve the current contact and organization explicitly referenced by a KIX ticket, optionally returning email details only when both visibility opt-ins are enabled.

Instructions

Resolve only the contact and organisation explicitly referenced by this ticket.

Current assignments, not historical senders/actors. Never substitute the contact's primary organisation for the ticket organisation. unknown means missing relationship field; not_assigned means explicit null/zero; unavailable means denied or not visible/not found. No user or email-sender lookup. At most ticket + contact + organisation GETs, no recursion. Sequential reads are not an atomic snapshot. Email requires both opt-ins. Auth/logout occur.

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": {
      "ticket_id": "<ticket_id>"
    },
    "name": "kix_get_ticket_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idYes
include_emailNo

Output Schema

NameRequiredDescriptionDefault
contactNo
ticket_idYes
contact_idYes
organisationNo
contact_statusNounknown
organisation_idYes
organisation_statusNounknown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.30.2

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint=false and openWorldHint=true already declared, the description still adds meaningful context: a request budget ('At most ticket + contact + organisation GETs, no recursion'), a consistency caveat ('Sequential reads are not an atomic snapshot'), gating for email ('Email requires both opt-ins'), and the 'Auth/logout occur' note that plausibly explains the non-readOnly hint. The three-state outcome vocabulary (unknown / not_assigned / unavailable) is genuinely useful behavioral disclosure. Only the vagueness of 'both opt-ins' keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and most sentences carry information, but the text is a run-on wall of telegraphic fragments ('unknown means...; not_assigned means...', 'Auth/logout occur.') with no grouping or spacing. Structural readability suffers even though little is pure filler.

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-value explanation is rightly omitted, and the description covers scope, sub-request limits, non-atomicity, and error-state semantics for what is a non-trivial multi-entity resolution tool. The only gap is the undefined 'both opt-ins' condition on include_email.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry the parameter meanings, and it only partly does. 'Email requires both opt-ins' signals that include_email is gated by an external setting, but which two opt-ins is left unstated, and ticket_id is only implied by 'this ticket'. Half the semantics remain inferential.

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 verb and resource: 'Resolve only the contact and organisation explicitly referenced by this ticket.' The word 'only' plus 'explicitly referenced by this ticket' distinguishes it from the id-based siblings kix_get_contact / kix_get_organisation. It does not name any sibling directly, so it stops short of a 5.

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 real scope boundaries: 'Current assignments, not historical senders/actors', 'Never substitute the contact's primary organisation for the ticket organisation', and 'No user or email-sender lookup'. These exclusions steer an agent away from the wrong sibling behavior. It never explicitly names an alternative tool or says 'use X instead', which keeps it at 4.

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