Skip to main content
Glama

Create ticket rule

glpi_create_rule_ticket

Create a new ticket business rule. Fields: name, match (AND/OR), is_active, sub_type, ranking, etc.

Input Schema

NameRequiredDescriptionDefault
inputYesRule fields

Output Schema

NameRequiredDescriptionDefault
dataNo
replayedNoTrue when an identical recent create was returned instead of repeated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds nothing behavioral beyond that — no note on permissions required, no statement of what happens to existing or triggering rules, and no indication that the created rule takes effect on new tickets.

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?

Two short sentences with the action front-loaded and no filler. The truncated field list ending in 'etc.' is the one element that wastes rather than earns space, since it signals incompleteness without resolving it.

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?

An output schema exists so return values need not be explained. However, for a rule-creation tool whose entire input is an opaque free-form object, the definition should at minimum outline required fields, the AND/OR semantics of 'match', and the relationship to the criteria/action creation tools. It is minimally viable but leaves real gaps.

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?

The schema only exposes a free-form 'input' object with additionalProperties={} and the description 'Rule fields', so it provides almost no real field documentation. The description compensates by naming concrete fields — name, match (AND/OR), is_active, sub_type, ranking — which is genuinely new information. It loses a point for trailing off into 'etc.' and leaving required vs optional fields unspecified.

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+resource: 'Create a new ticket business rule', which is distinguishable from glpi_create_rule_action and glpi_create_rule_criteria (sub-resources of a rule) and from glpi_get_rule_ticket / glpi_list_rules. It does not, however, explicitly name those siblings or clarify how the ticket rule relates to its criteria/actions, so it stops short of full differentiation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., admin rights), and no mention of alternatives or the workflow of attaching criteria/actions afterward. The agent must infer the usage context entirely from the name.

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.