Skip to main content
Glama

pathrule_update_rule

Destructive

Replace the title and text of an existing rule, found by id. Overwrites its current text (earlier revisions stay in its history); expectedVersion must be its current revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYesMarkdown body; inline skill primary.
pathNo/
titleYes
operation_idNoStable operation key for durable retries; otherwise use the HTTP Idempotency-Key header.
workspace_idNoOptional; defaults to the OAuth grant workspace. Cannot change its binding.
expectedVersionYes
idempotency_keyNoLegacy operation_id alias.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds genuinely useful context beyond them: earlier revisions are preserved in history, and expectedVersion must match the current revision (an optimistic-concurrency contract). It still does not say what error/behavior results from a version mismatch, which is the main remaining gap.

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 tight sentences with the mutation and its overwrite semantics front-loaded, then the version precondition. No filler.

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 destructive, non-idempotent mutation with no output schema, the description covers the essential behavior (full overwrite, history retention, version precondition). It is nearly complete, missing only failure-mode behavior on version conflict and permission requirements.

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 50%; expectedVersion has no schema description, and the description compensates by explaining it must be the current revision. 'id' is clarified as the lookup key and 'body' is implicitly the 'text' being replaced, but path, workspace_id, operation_id and idempotency_key get no added meaning from the description (some are covered by the schema instead).

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?

States a precise verb and resource ('Replace the title and text of an existing rule, found by id') and clarifies the scope is a full replacement of title+body rather than a partial patch. The resource noun 'rule' separates it from the update_memory/update_skill siblings, and 'found by id' identifies the lookup key.

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?

Usage is only implied: you need an existing rule id and a current revision. There is no explicit guidance on when to prefer this over pathrule_write_rule (create) or the memory/skill update variants, and no stated prerequisites such as read-before-write or permissions.

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.