Skip to main content
Glama

set_category

Assign a classification category to a support ticket after triage, using ticket ID and category type to update its record.

Instructions

Record the ticket's category after classifying it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYes
ticket_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description must disclose side effects itself. It says the action is to 'record' a category, implying a write/update, but it doesn't say whether this overwrites an existing category, requires an existing ticket, or has any other side effects or response.

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

Conciseness5/5

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

One short sentence with no filler; the key object and timing are front-loaded. It earns its place and is appropriately sized for a simple two-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter write tool with no annotations or output schema, the definition is minimal but usable: it names the action and timing. However, it does not clarify overwrite behavior or the need for an existing ticket, so completeness is only moderate.

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%, so the description needed to explain the two parameters. It only refers to 'ticket' and 'category' without adding semantic detail, value meanings, or how they relate; the enum and integer type are left entirely to the schema.

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 states a specific verb ('Record') and resource ('the ticket's category'), and adds useful workflow context ('after classifying it'). It is clear, though it does not explicitly contrast with siblings such as create_ticket, so some differentiation is left to inference.

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?

The phrase 'after classifying it' gives explicit timing for when the tool should be used, placing it after the classification step. It does not name alternatives or state when not to use it, but the workflow cue is clear enough for an agent.

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