Skip to main content
Glama

update_project_rule

Change a project rule, by its id from list_project_rules. Only what you pass changes: pass just 'enabled' to switch a rule on or off, or any of the others to edit it. An empty string for 'type' or 'label' removes that condition; for a duty, an empty 'status', 'agentActions', 'agentFields' or 'doneStatus' clears that one. A rule's action cannot change. A rule appends its checklist to an issue's description when the issue ENTERS the rule's state — from the board, the Jira API or update_issue alike. The block starts with a hidden marker line '[//]: # (pm-rule:)'; while that line is in the description, entering the state again adds nothing (the journal says 'alreadyThere'). A [~username] in the template is a mention: that person is notified when the checklist lands. A checklist that would make the description too long is not added and the journal says 'tooLong'; the move itself still happens. A rule with action 'agent' is a DUTY instead: it says which issues may be handed to an agent role (agentRole, e.g. 'product') and what the agent may do with them. Its 'template' is then the INSTRUCTION — what doing such an issue means in this project — and nothing is appended anywhere. A duty may have no state (pass an empty 'status'): then an issue is handed only by a person. agentActions is a list from: describe, subtasks, ask, wiki, report, support. agentFields names the fields it may set: priority, labels, duedate, or the project's own fields by name. doneStatus is the state it moves the issue to when done — never a finished one. capUsd raises what one task may cost, up to 5 dollars. Commenting is always allowed; finishing, deleting, reassigning and anything outside the issue never are. Saving or switching on a duty makes it yours: it runs on your behalf and access, and is switched off if you lose the project. Project lead or admin only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe rule's id, from list_project_rules.
nameNoA new name.
typeNoOnly issues of this type, by name. An empty string means any type.
labelNoOnly issues with this label. An empty string means any label.
capUsdNoFor a duty: what one task may cost, in dollars, at most 5; 0 goes back to the ordinary ceiling.
statusNoA new state to fire on, by name.
enabledNotrue to switch the rule on, false to switch it off.
templateNoA new checklist template (Markdown). Replaces the old one for issues that enter the state from now on; checklists already added stay as they are.
agentRoleNoFor a duty: a new agent role key.
doneStatusNoFor a duty: a new review state; an empty string and it no longer moves the issue.
projectKeyYesProject key, e.g. 'ONB'.
agentFieldsNoFor a duty: the whole new list of fields, comma-separated.
agentActionsNoFor a duty: the whole new list of actions, comma-separated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: partial-update semantics, empty-string clearing, immutability of the rule action, checklist dedupe via hidden marker, mention notifications, too-long handling, duty specifics, ownership transfer, and project-lead/admin-only permission. This goes far beyond what annotations would typically disclose.

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 long, but the tool is complex with 13 parameters and many edge cases. It is front-loaded with purpose and update semantics, then layers checklist behavior, duty specifics, and authorization. Every sentence covers a real behavioral nuance; none are wasted or redundant.

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 mutation tool with no annotations and no output schema, the description covers behavior, permissions, parameter relationships, and edge cases exceptionally well. It references journal messages ('alreadyThere', 'tooLong') but does not explicitly state the return/response shape or error behavior, which is a small gap given there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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, but the description adds substantial semantic value: it explains empty-string interactions across parameters, enumerates valid agentActions, constrains capUsd to 5 dollars, clarifies agentFields/doneStatus meanings, and explains that a duty's template is an instruction rather than a checklist. This is meaning the schema cannot express.

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 'Change a project rule, by its id from list_project_rules' – a specific verb, resource, and id source. This clearly distinguishes it from create/delete/list siblings and tells an agent exactly what the tool does and how to target an existing rule.

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 clearly establishes this tool is for altering existing rules and explains partial-update behavior. Sibling names make the create/delete alternatives obvious, but the description does not explicitly say 'use create_project_rule for new rules' or 'use delete_project_rule to remove a rule'.

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