Skip to main content
Glama

rule_definitions

Read-onlyIdempotent

Retrieve valid conditions, actions, operators, and allowed values for Zendesk triggers, automations, views, and macros, so you can build rule definitions correctly before creating them.

Instructions

Valid conditions and actions for building triggers, automations, views and macros: each field's subject, operators and allowed values (group ids, statuses, custom fields...). Use before creating rules. Automations use the trigger definitions plus time-based conditions (see notes).

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": {
      "kind": "<kind>"
    },
    "name": "rule_definitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
searchNoOnly definitions whose title/subject contains this text.
max_valuesNoAllowed values listed per definition.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine domain context — that definitions are the canonical source of valid conditions/actions and that automations layer time-based conditions on top. It does not disclose result size, pagination/truncation behavior, or what happens when no definitions match.

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 sentences with no filler, and the scope enumeration is front-loaded before the usage instruction. The first sentence is dense and slightly overloaded with parenthetical examples, but nothing is redundant.

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 read-only discovery tool with no output schema, the description conveys the shape of returned entries but not the container structure, result count, or behavior at the max_values boundary. It is adequate to decide to call the tool but leaves an agent guessing about the response envelope.

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 coverage is 67%, with 'search' and 'max_values' documented in the schema and 'kind' carrying only an enum. The description does not explain what 'kind' selects beyond the enum labels, nor does it connect 'max_values' to the 'allowed values' enumeration it describes, though that linkage is implicit. It adds domain flavor (group ids, statuses, custom fields) but no operational parameter guidance.

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 names a specific resource (rule definitions: triggers, automations, views, macros) and states exactly what each entry contains — field subject, operators, and allowed values such as group ids, statuses, and custom fields. It is clearly a reference/schema-lookup tool and distinguishable from mutation siblings like apply_macro. It lacks an explicit leading verb ('Returns...'), so the action is inferred rather than stated.

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 'Use before creating rules' gives an explicit precondition that ties the tool to a workflow stage. It also clarifies the relationship between kinds, noting automations extend trigger definitions with time-based conditions. No exclusions or named alternatives are given, which keeps it just below a 5.

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