Skip to main content
Glama

Add a watch-by-profile rule

jt_watch_rule_add
Idempotent

Create a watch rule by profile: every field is optional and null means "no filter on this"; at least one of modelFamily/uf/category/rbac should be set or the rule watches the whole live fleet. eventTypes picks which business events this rule delivers (registry.changed, airworthiness.cva_expiring, airworthiness.cva_expired, flight.ground_stay, program.ea_revised). dryRun=true only returns preview.count (how many live registrations match right now) without saving. Requires an account key (Enterprise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufNoBase state (RAB base_uf), e.g. SP.
rbacNo91, 91k, 135, 121 or 137.
labelNoFree label for the account to recognize the rule.
dryRunNotrue: only preview, does not save.
categoryNoFine category (light, midsize...) or group (jet, turboprop, helicopter, piston).
eventTypesYesWhich business events this rule delivers.
modelFamilyNoCatalog family slug (e.g. phenom-300).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoMachine-readable error code (INTERNAL, TIMEOUT, INVALID_ARGUMENT, NOT_FOUND, TOOL_FAILED, ACCOUNT_KEY_REQUIRED).
_metaNo
errorNo
foundNo
gatedNo
requestIdNo
retryableNo
quota_exceededNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the critical dryRun side-effect (returns preview.count without saving), the account-key requirement, and the whole-fleet behavior when no filter is set. These are exactly the behavioral traits an agent needs, and the annotations do not carry them. There is no contradiction with the readOnly, idempotent, or destructive hints.

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?

The description is compact, front-loaded, and every sentence adds information: scope, filter behavior, eventTypes, dryRun semantics, and auth. The event-type list is redundant with the schema but acceptable; there is no filler or fluff.

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 write tool with a full schema and output schema, it covers prerequisite auth, side-effect avoidance via dryRun, and the important whole-fleet edge case. It loses a point only for the 'every field optional' wording that needs reconciliation with the required eventTypes, and for not naming a sibling tool for comparison.

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 100%, so the baseline is 3; the description adds value by explaining the null-as-no-filter convention, the at-least-one-filter condition, and the dryRun preview semantics. The phrase 'every field is optional' is slightly loose because eventTypes is required by the schema, but the intent is clear for the filter fields.

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?

The description opens with a specific verb-resource pair, 'Create a watch rule by profile', and clarifies the profile dimensions (modelFamily/uf/category/rbac). This makes it distinguishable from generic watch tools like jt_watch_add, which likely use a different subject. No meaningful ambiguity remains about what the tool does.

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

Usage Guidelines3/5

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

The description gives strong context for how the rule is scoped (null means no filter, no filters watches the whole live fleet) and adds the Enterprise account-key prerequisite. However, it never names an alternative or states when to prefer this over jt_watch_add or jt_watch_set; differentiation is only implied by the 'by profile' wording.

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