Skip to main content
Glama

Create event notifications

clm_create_event_reminders
DestructiveIdempotent

Add approved notifications to supported contract events; recipients receive email when due. Use clm_create_contract_events for a new dated event. Returns per-item notification outcomes. Item failures retain their reason in results. A new idempotencyKey covers failed-item retries; the original key covers identical full replays.

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": {
      "reminders": "<reminders>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "clm_create_event_reminders"
  }
}

Input Schema

NameRequiredDescriptionDefault
remindersYesNotification changes
idempotencyKeyYesSame-input retry key

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Identical-input retry key"New value: +"Same-input retry key"
  2. Changed4 schema fields changed
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Identical-input retry key"
    • addedInput schema / properties / reminders / description
      Added value: +"Notification changes"
    • changedInput schema / properties / reminders / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "anchorType": {
      -        "const": "custom",
      -        "type": "string"
      -      },
      -      "contractId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "eventId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "message": {
      -        "anyOf": [
      -          {
      -            "maxLength": 5000,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "offsetDirection": {
      -        "enum": [
      -          "before",
      -          "on",
      -          "after"
      -        ],
      -        "type": "string"
      -      },
      -      "offsetUnit": {
      -        "enum": [
      -          "days",
      -          "weeks",
      -          "months",
      -          "quarters",
      -          "years"
      -        ],
      -        "type": "string"
      -      },
      -      "offsetValue": {
      -        "maximum": 2147483647,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "recipient": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "type": {
      -                "const": "contract_owner",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "type": {
      -                "const": "user",
      -                "type": "string"
      -              },
      -              "userId": {
      -                "format": "uuid",
      -                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "userId"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "anchorType",
      -      "eventId",
      -      "offsetValue",
      -      "offsetUnit",
      -      "offsetDirection",
      -      "recipient",
      -      "contractId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "anchorType": {
      -        "const": "system",
      -        "type": "string"
      -      },
      -      "contractId": {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      "message": {
      -        "anyOf": [
      -          {
      -            "maxLength": 5000,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "offsetDirection": {
      -        "enum": [
      -          "before",
      -          "on",
      -          "after"
      -        ],
      -        "type": "string"
      -      },
      -      "offsetUnit": {
      -        "enum": [
      -          "days",
      -          "weeks",
      -          "months",
      -          "quarters",
      -          "years"
      -        ],
      -        "type": "string"
      -      },
      -      "offsetValue": {
      -        "maximum": 2147483647,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "recipient": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "type": {
      -                "const": "contract_owner",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "type": {
      -                "const": "user",
      -                "type": "string"
      -              },
      -              "userId": {
      -                "format": "uuid",
      -                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "userId"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "systemType": {
      -        "enum": [
      -          "notice",
      -          "end",
      -          "open_ended_review"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "anchorType",
      -      "systemType",
      -      "offsetValue",
      -      "offsetUnit",
      -      "offsetDirection",
      -      "recipient",
      -      "contractId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "anchorType": {
      +        "const": "custom",
      +        "type": "string"
      +      },
      +      "contractId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "eventId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "message": {
      +        "maxLength": 5000,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "offsetDirection": {
      +        "enum": [
      +          "before",
      +          "on",
      +          "after"
      +        ],
      +        "type": "string"
      +      },
      +      "offsetUnit": {
      +        "enum": [
      +          "days",
      +          "weeks",
      +          "months",
      +          "quarters",
      +          "years"
      +        ],
      +        "type": "string"
      +      },
      +      "offsetValue": {
      +        "maximum": 2147483647,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "recipient": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "type": {
      +                "const": "contract_owner",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "type": {
      +                "const": "user",
      +                "type": "string"
      +              },
      +              "userId": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "userId"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "anchorType",
      +      "eventId",
      +      "offsetValue",
      +      "offsetUnit",
      +      "offsetDirection",
      +      "recipient",
      +      "contractId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "anchorType": {
      +        "const": "system",
      +        "type": "string"
      +      },
      +      "contractId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "message": {
      +        "maxLength": 5000,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "offsetDirection": {
      +        "enum": [
      +          "before",
      +          "on",
      +          "after"
      +        ],
      +        "type": "string"
      +      },
      +      "offsetUnit": {
      +        "enum": [
      +          "days",
      +          "weeks",
      +          "months",
      +          "quarters",
      +          "years"
      +        ],
      +        "type": "string"
      +      },
      +      "offsetValue": {
      +        "maximum": 2147483647,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "recipient": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "type": {
      +                "const": "contract_owner",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "type": {
      +                "const": "user",
      +                "type": "string"
      +              },
      +              "userId": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "userId"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "systemType": {
      +        "enum": [
      +          "notice",
      +          "end",
      +          "open_ended_review"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "anchorType",
      +      "systemType",
      +      "offsetValue",
      +      "offsetUnit",
      +      "offsetDirection",
      +      "recipient",
      +      "contractId"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "results": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "contractId": {
      -            "allOf": [
      -              {
      -                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                "type": "string"
      -              },
      -              {
      -                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                "type": "string"
      -              }
      -            ],
      -            "type": "string"
      -          },
      -          "error": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "errorCode": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "conflict",
      -                  "denied",
      -                  "invalid",
      -                  "not_found",
      -                  "failed"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "ok": {
      -            "type": "boolean"
      -          },
      -          "reminder": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "anchorType": {
      -                    "enum": [
      -                      "custom",
      -                      "system"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "contractId": {
      -                    "allOf": [
      -                      {
      -                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                        "type": "string"
      -                      },
      -                      {
      -                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                        "type": "string"
      -                      }
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "eventId": {
      -                    "anyOf": [
      -                      {
      -                        "allOf": [
      -                          {
      -                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                            "type": "string"
      -                          },
      -                          {
      -                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                            "type": "string"
      -                          }
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "id": {
      -                    "allOf": [
      -                      {
      -                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                        "type": "string"
      -                      },
      -                      {
      -                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                        "type": "string"
      -                      }
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "isDisabled": {
      -                    "type": "boolean"
      -                  },
      -                  "message": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "offsetDirection": {
      -                    "enum": [
      -                      "before",
      -                      "on",
      -                      "after"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "offsetUnit": {
      -                    "enum": [
      -                      "days",
      -                      "weeks",
      -                      "months",
      -                      "quarters",
      -                      "years"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "offsetValue": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "recipient": {
      -                    "oneOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "type": {
      -                            "const": "contract_owner",
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "type"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "type": {
      -                            "const": "user",
      -                            "type": "string"
      -                          },
      -                          "userId": {
      -                            "allOf": [
      -                              {
      -                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                                "type": "string"
      -                              },
      -                              {
      -                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                                "type": "string"
      -                              }
      -                            ],
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "type",
      -                          "userId"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  "systemType": {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "notice",
      -                          "end",
      -                          "renewal",
      -                          "open_ended_review"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "updatedAt": {
      -                    "allOf": [
      -                      {
      -                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -                        "type": "string"
      -                      },
      -                      {
      -                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -                        "type": "string"
      -                      }
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "contractId",
      -                  "anchorType",
      -                  "eventId",
      -                  "systemType",
      -                  "offsetValue",
      -                  "offsetUnit",
      -                  "offsetDirection",
      -                  "recipient",
      -                  "message",
      -                  "isDisabled",
      -                  "updatedAt"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "reminderId": {
      -            "anyOf": [
      -              {
      -                "allOf": [
      -                  {
      -                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -                    "type": "string"
      -                  }
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "contractId",
      -          "reminderId",
      -          "ok",
      -          "reminder",
      -          "error",
      -          "errorCode"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "results"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the mutation/idempotency profile; the description adds real substance beyond that: email delivery on the due date, per-item outcome reporting, partial-failure semantics where failed items keep their reason, and precise idempotency-key rules (new key for failed-item retries, original key only for identical full replays). That retry guidance is exactly the kind of behavior an agent cannot infer from structured fields.

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?

Five short sentences, front-loaded with purpose followed by sibling routing, return shape, failure behavior, and retry rules, with no filler. The telegraphic retry sentence is dense but every clause carries distinct information.

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 mutating, destructive-flagged bulk tool with no output schema, the description covers return values (per-item outcomes with failure reasons) and retry strategy, which is the essential missing piece. It stops short of clarifying the reminder item semantics (system vs custom anchors, offset direction/unit interpretation), which matter for a 100-item array of polymorphic objects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the idempotencyKey's actual semantics (which key to reuse under which retry scenario), going well beyond the terse schema note 'Same-input retry key'. It adds nothing about reminders fields such as anchorType, offset, or recipient, leaving the large oneOf structure to the schema.

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 and resource ('Add approved notifications to supported contract events') plus the observable effect (recipients receive email when due), and explicitly names clm_create_contract_events as the different tool for a new dated event. An agent can distinguish it from the event and reminder siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear routing rule: use clm_create_contract_events when a new dated event is needed, implying this tool attaches notifications to events that already exist. It does not mention when to prefer clm_update_event_reminders or clm_delete_event_reminders, so the when-not coverage is partial.

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.