Skip to main content
Glama

Update rule

update_rule
Destructive

Edit a rule's text or level. Only supplied fields change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId of the Rule.
textNoThe Rule as one narrow statement.
levelNomust refuses a failing write; should only reports it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=false, so the mutation profile is covered. The description adds genuine behavioral value with partial-update semantics ('Only supplied fields change'), though it omits the consequences of editing a 'must' level rule, permission requirements, and whether prior text is recoverable.

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?

Two very short sentences with zero waste; the mutation scope is front-loaded and the patch rule follows immediately.

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 3-parameter update with full schema coverage and annotations that supply the safety profile, the description is nearly sufficient. It would be complete with a note on side effects of level changes on rule evaluation, but nothing critical for correct invocation is missing.

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%, including the meaningful enum semantics for level ('must refuses a failing write; should only reports it'), so the schema carries the burden. The description restates which fields are editable but adds no syntax or format detail beyond that.

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 (Edit) and resource (a rule) and enumerates the mutable surface (text or level), so the agent knows precisely what the tool mutates. It doesn't explicitly contrast with siblings like update_rulebook or create_rule/delete_rule, which keeps it short of a 5.

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?

No statement of when to use this versus create_rule, delete_rule, update_rulebook, or check_rules, and no prerequisites (e.g., that the rule must exist, or that editing a 'must' rule changes write-time enforcement). The only usage-adjacent content is the patch semantics note.

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