Skip to main content
Glama

pathrule_update_memory

Destructive

Replace the title and text of an existing memory, 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; the description adds valuable context beyond that: the old text is overwritten but earlier revisions remain in history, and expectedVersion enforces optimistic concurrency. It stops short of describing conflict/error behavior, keeping it out of 5 territory.

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 sentences, zero filler, with the overwrite semantics and version precondition front-loaded. Every clause carries information an agent needs.

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 overwrite/history behavior and the version guard, which are the critical facts. Missing only error-on-conflict behavior and path-change semantics.

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%, and the schema itself documents body, operation_id, workspace_id, and idempotency_key. The description usefully explains the non-obvious expectedVersion precondition, but says nothing about path, whether workspace binding can change, or how title/body map to the update.

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 specific verb (Replace) and resource (title and text of an existing memory) plus the lookup key (by id). Against siblings like pathrule_write_memory (create) and pathrule_update_rule/update_skill, the resource noun alone differentiates it clearly.

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?

Implies usage: replacing an existing memory as opposed to creating one, and it names the precondition (expectedVersion must be its current revision). But it never explicitly says when to choose this over pathrule_write_memory or pathrule_history_memory, or what to do on a version mismatch.

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.