Skip to main content
Glama

file_ticket

File a new ticket on the AI work board: a gap you found, a follow-up chore, an incident to investigate, or a request on behalf of the user. The ticket enters 'triage' and the dispatcher assigns it to the best matching agent. Give it a clear title, a body with the evidence, a kind, and a priority. Tickets cannot target an archived cluster - file board-level (no cluster_id) work instead if genuinely needed. An incident or insight on a cluster MUST name the condition it reports and the object it is on (condition, resource_kind, resource_namespace, resource_name): the board keys the ticket on the problem class and the root-cause object, so the same fault already seen by an alert or an insight lands on their ticket as a recurrence instead of a duplicate, and the result tells you which happened. Name them for scan and audit findings of any kind too.

Input Schema

NameRequiredDescriptionDefault
bodyYesThe problem statement with evidence (markdown).
kindNoThe ticket kind (default 'request').
titleYesShort imperative title (e.g. 'Pin unversioned nginx addon on prod-eu').
priorityNoThe priority (default 'medium').
conditionNoThe unhealthy state this ticket reports, as a short stable name. Prefer a problem class: 'crashloop', 'oom', 'image_pull', 'config_error', 'unschedulable', 'pod_not_ready', 'workload_unavailable', 'job_failed', 'node_not_ready', 'node_pressure', 'node_unschedulable', 'storage_pending', 'storage_full', 'addon_unhealthy', 'certificate_not_ready', 'cluster_unreachable'; common spellings ('restart_accumulation', 'CrashLoopBackOff', 'ImagePullBackOff') map onto them, and an unknown name keys on itself. Requires a cluster; required for kind 'incident' and 'insight'. With resource_kind/resource_name it keys on that object's root cause (a pod resolves to its Deployment, DaemonSet or CronJob), otherwise on the cluster. Same class, same object, open ticket = recurrence, not a new ticket.
cluster_idNoThe cluster this concerns. Defaults to the session's cluster when scoped.
resource_kindNoThe Kubernetes kind of the object the condition is on (e.g. 'Pod', 'Deployment', 'Node', 'PersistentVolumeClaim'). Pass the pod when that is what you observed; the board resolves its owner workload. Goes with resource_name.
resource_nameNoThe name of that object. Goes with resource_kind.
resource_namespaceNoThe namespace of that object; omit for cluster-scoped kinds (Node, PersistentVolume). Used with condition.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=false, destructive=false), the description discloses the post-creation state machine ('enters triage and the dispatcher assigns it to the best matching agent') and the dedup contract: the board keys on problem class + root-cause object so a previously-seen fault lands as a recurrence rather than a duplicate, and 'the result tells you which happened'. That is substantive behavioral context an agent cannot get from structured fields.

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?

Purpose, kinds and triage behavior are front-loaded, but the closing paragraph is a dense run-on that restates the dedup mechanism already spelled out in the condition schema description ('Same class, same object, open ticket = recurrence'), and the scan/audit trailing sentence is an afterthought. Functional but with clear redundancy.

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?

For a nine-parameter creation tool with no output schema, the description covers creation semantics, dispatch, dedup keying, and the archived-cluster constraint, and signals what the result conveys. It does not describe the shape of the returned ticket or what an ambiguous/dedup-ed result looks like in detail, but nothing critical to invoking it correctly 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 already 100%, so the baseline is 3; the description earns above that by explaining how parameters interact for dedup (condition + resource_kind/name keys on the object's root cause, a pod resolving to its Deployment/DaemonSet/CronJob, otherwise on the cluster) and that cluster_id defaults to the session cluster. It still leaves cluster_id/resource_namespace edge behavior mostly to the schema.

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?

Opens with a specific verb and resource ('File a new ticket on the AI work board') and enumerates the concrete categories it accepts (gap, chore, incident, request). This is clearly distinguishable from the large family of sibling ticket_* and create_support_ticket tools, which it never risks being confused with.

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?

It gives real selection guidance: what each kind means, when condition/resource_* fields are required ('required for kind incident and insight'), and an explicit exclusion with a fallback ('Tickets cannot target an archived cluster - file board-level (no cluster_id) work instead'). It stops short of naming sibling alternatives (e.g. when to use create_support_ticket instead), so 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources