Skip to main content
Glama

WritersLogic agent-infra

mutation-intent

Diff a before/after JSON write for deletes, null-vs-omit and emptied arrays against protected paths — Compares the JSON document an agent read (before) with the one it is about to write (after) and lists every change by JSON Pointer: removed members, null turned into omitted (and the reverse), arrays emptied or shrunk, objects emptied, type changes. Fails when a change touches a protected path or is destructive and not listed in allowDestructive; use it before a PUT, PATCH or bulk update. Arrays a

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "before": "<before>",
      "after": "<after>"
    },
    "name": "mutation-intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYesJSON value about to be written.
beforeYesJSON value as last read.
protectedPathsNoJSON Pointers that must not change at all; a "*" token matches any one key or index.
allowDestructiveNoJSON Pointers ("*" wildcard) under which deletes, emptied containers and type changes are intended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources