Skip to main content
Glama

pathrule_delete_memory

Destructive

Delete a memory by id from the connected Pathrule workspace; expectedVersion must be its current revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
pathNo/
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

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds a genuine behavioral precondition not present in the schema: expectedVersion must equal the memory's current revision, implying an optimistic-concurrency failure mode on stale versions. It still omits what happens on version mismatch and any permission requirements.

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?

A single sentence with the action and the concurrency precondition front-loaded, and no filler. Every clause carries information the caller needs.

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?

For a destructive operation the description covers the essentials (target and version guard) and annotations carry reversibility, but with 6 parameters at 50% coverage and no output schema, the role of path, workspace_id, and the idempotency/retry parameters is left entirely to the schema.

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%. The description explains the two required parameters (id as the target, expectedVersion as the current revision), but adds nothing for path, workspace_id, operation_id, or idempotency_key, and path has no schema description at all despite being a listed property on a delete-by-id tool.

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 (Delete), resource (a memory), and keying method (by id) within the connected Pathrule workspace, which cleanly separates it from pathrule_delete_rule and pathrule_delete_skill. An agent can identify the tool's job without opening the schema.

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 when-to-use or when-not-to-use guidance is given, and no alternatives are named despite an obvious sibling set (delete_rule, delete_skill, update_memory). The agent must infer that this is the deletion path for memories and that update_memory is the non-destructive alternative.

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.