Skip to main content
Glama

WritersLogic agent-infra

dedup-window

Group webhook deliveries by identity within a time window and decide: process, dedupe, retry, reconcile or abstain — Given previously seen deliveries (identity, receivedAt, payload or digest, handling outcome) and a new incoming one, finds earlier deliveries with the same identity inside the window and returns process (none), dedupe (same payload already processed), retry (earlier ones all failed), reconcile (an earlier one is in flight or unknown, or the same identity arrives with a different payload) or abstai

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": {
      "history": "<history>",
      "incoming": "<incoming>",
      "windowSeconds": "<windowSeconds>"
    },
    "name": "dedup-window"
  }
}

Input Schema

NameRequiredDescriptionDefault
historyYes
incomingYes
windowModeNofrom-first (default): a group's window starts at its first delivery. sliding: each delivery extends the window.
windowSecondsYes

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