Skip to main content
Glama

Update rule action

glpi_update_rule_action
DestructiveIdempotent

Update a rule action by ID. Fields: action_type, field, value.

Input Schema

NameRequiredDescriptionDefault
inputYesFields to update (action_type, field, value)
actionIdYesItem ID

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and non-readOnly, so the safety profile is covered without description help. The description adds only the list of updatable fields; it says nothing about whether omitted fields are preserved, whether action_type can be changed after creation, or what a destructive update actually overwrites.

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, verb-resource first and field list second, with zero filler. It is arguably under-specified rather than verbose, which is a completeness issue rather than a conciseness one.

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 described, and the annotation block carries the destructive/idempotent profile. However, for a destructive update tool whose input is an opaque nested object, the description omits field mutability, partial-update behavior, and how rule actions relate to their parent rules, leaving real gaps an agent would want filled.

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 description coverage is 100%, and the schema already documents 'actionId' as Item ID and 'input' as the fields-to-update object, so the description is largely repeating structured data. Because the nested 'input' object uses additionalProperties with no per-field typing, the enumeration of action_type/field/value adds marginal value over the schema text rather than new semantics.

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 and resource ('Update a rule action by ID') and identifies the three mutable fields, so the operation is unambiguous. It does not differentiate itself from adjacent rule tools (glpi_create_rule_action, glpi_list_rule_actions) or mention the rule/action hierarchy, but the core purpose is clear.

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. does the parent rule need to exist, are some fields immutable after creation?), and no mention of alternatives such as glpi_create_rule_action for adding rather than editing. The agent must infer invocation conditions entirely.

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.