Skip to main content
Glama

BRAINIAC Appointment Intelligence

Detect cancellation patterns

appointment-intelligence_cancellation-pattern-detect
Read-onlyIdempotent

Find cancellations, short-notice lead times, and weekday patterns from supplied timestamps. Small samples are disclosed. Price $0.04 USDC. POST /api/v1/appointment-intelligence/cancellation-pattern-detect. An unpaid call returns the x402 payment terms and does not run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "appointment-intelligence_cancellation-pattern-detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNocsv, string, length 0 to 200000. Optional.
asOfNoasOf, string, length 0 to 40. Optional.
fileNofile, object. Optional.
jsonNojson, string, length 0 to 200000. Optional.
textNotext, string, length 0 to 200000. Optional.
slotsNoslots, array. Optional.
minSampleNominSample, integer, from 1 to 100000. Optional.
providersNoproviders, array. Optional.
gapMinutesNogapMinutes, integer, from 1 to 1440. Optional.
appointmentsNoappointments, array. Optional.

Output Schema

NameRequiredDescriptionDefault
itemsNoitems. Array.
statusNostatus. String.
findingsNofindings. Array.
weekdaysNoweekdays. Array.
checkedAtNocheckedAt. String.
minSampleNominSample. Number.
limitationsNolimitations. Array.
uncertaintyNouncertainty. String.
reminderSentNoreminderSent. Boolean.
bookingModifiedNobookingModified. Boolean.
recommendationsNorecommendations. Array.
sampleSufficientNosampleSufficient. Boolean.
shortNoticeCountNoshortNoticeCount. Number.
cancellationCountNocancellationCount. Number.
attendancePredictedNoattendancePredicted. Boolean.
protectedAttributesUsedNoprotectedAttributesUsed. Boolean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • addedInput schema / properties / appointments / description
      Added value: +"appointments, array. Optional."
    • addedInput schema / properties / appointments / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / appointments / items / properties / bookedAt / description
      Added value: +"bookedAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / appointments / items / properties / cancelledAt / description
      Added value: +"cancelledAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / appointments / items / properties / channel / description
      Added value: +"channel, string, length 0 to 80. Optional."
    • addedInput schema / properties / appointments / items / properties / clientId / description
      Added value: +"clientId, string, length 0 to 80. Optional."
    • addedInput schema / properties / appointments / items / properties / end / description
      Added value: +"end, string, length 0 to 40. Optional."
    • addedInput schema / properties / appointments / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / appointments / items / properties / providerId / description
      Added value: +"providerId, string, length 0 to 80. Optional."
    • addedInput schema / properties / appointments / items / properties / reminderAt / description
      Added value: +"reminderAt, string, length 0 to 40. Optional."
    • addedInput schema / properties / appointments / items / properties / service / description
      Added value: +"service, string, length 0 to 160. Optional."
    • addedInput schema / properties / appointments / items / properties / start / description
      Added value: +"start, string, length 0 to 40. Optional."
    • addedInput schema / properties / appointments / items / properties / status / description
      Added value: +"status, string, length 0 to 80. Optional."
    • removedInput schema / properties / appointments / maxItems
      Removed value: -500
    • addedInput schema / properties / asOf / description
      Added value: +"asOf, string, length 0 to 40. Optional."
    • addedInput schema / properties / csv / description
      Added value: +"csv, string, length 0 to 200000. Optional."
    • addedInput schema / properties / file / description
      Added value: +"file, object. Optional."
    • addedInput schema / properties / file / properties / fileBase64 / description
      Added value: +"fileBase64, string, length 1 to 12000000. Required."
    • addedInput schema / properties / file / properties / filename / description
      Added value: +"filename, string, length 1 to 180. Optional."
    • addedInput schema / properties / file / properties / mediaType / description
      Added value: +"mediaType, string, one of text/plain, text/csv, application/json. Required."
    • addedInput schema / properties / gapMinutes / description
      Added value: +"gapMinutes, integer, from 1 to 1440. Optional."
    • addedInput schema / properties / json / description
      Added value: +"json, string, length 0 to 200000. Optional."
    • addedInput schema / properties / minSample / description
      Added value: +"minSample, integer, from 1 to 100000. Optional."
    • addedInput schema / properties / providers / description
      Added value: +"providers, array. Optional."
    • addedInput schema / properties / providers / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / providers / items / properties / capacityMinutes / description
      Added value: +"capacityMinutes, number, from 0 to 100000. Optional."
    • addedInput schema / properties / providers / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / providers / items / properties / name / description
      Added value: +"name, string, length 0 to 160. Optional."
    • removedInput schema / properties / providers / maxItems
      Removed value: -40
    • addedInput schema / properties / slots / description
      Added value: +"slots, array. Optional."
    • addedInput schema / properties / slots / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / slots / items / properties / capacity / description
      Added value: +"capacity, number, from 0 to 10000. Optional."
    • addedInput schema / properties / slots / items / properties / end / description
      Added value: +"end, string, length 0 to 40. Optional."
    • addedInput schema / properties / slots / items / properties / id / description
      Added value: +"id, string, length 0 to 80. Optional."
    • addedInput schema / properties / slots / items / properties / providerId / description
      Added value: +"providerId, string, length 0 to 80. Optional."
    • addedInput schema / properties / slots / items / properties / start / description
      Added value: +"start, string, length 0 to 40. Optional."
    • removedInput schema / properties / slots / maxItems
      Removed value: -200
    • addedInput schema / properties / text / description
      Added value: +"text, string, length 0 to 200000. Optional."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "attendancePredicted": {
      +      "description": "attendancePredicted. Boolean.",
      +      "type": "boolean"
      +    },
      +    "bookingModified": {
      +      "description": "bookingModified. Boolean.",
      +      "type": "boolean"
      +    },
      +    "cancellationCount": {
      +      "description": "cancellationCount. Number.",
      +      "type": "number"
      +    },
      +    "checkedAt": {
      +      "description": "checkedAt. String.",
      +      "type": "string"
      +    },
      +    "findings": {
      +      "description": "findings. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "code": {
      +            "description": "code. String.",
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "detail. String.",
      +            "type": "string"
      +          },
      +          "kind": {
      +            "description": "kind. String.",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "description": "subject. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "items": {
      +      "description": "items. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "cancelledAt": {
      +            "description": "cancelledAt. String.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "id. String.",
      +            "type": "string"
      +          },
      +          "leadHours": {
      +            "description": "leadHours. Number.",
      +            "type": "number"
      +          },
      +          "leadHoursSupplied": {
      +            "description": "leadHoursSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "providerId": {
      +            "description": "providerId. String.",
      +            "type": "string"
      +          },
      +          "service": {
      +            "description": "service. String.",
      +            "type": "string"
      +          },
      +          "shortNotice": {
      +            "description": "shortNotice. Boolean.",
      +            "type": "boolean"
      +          },
      +          "start": {
      +            "description": "start. String.",
      +            "type": "string"
      +          },
      +          "weekday": {
      +            "description": "weekday. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "minSample": {
      +      "description": "minSample. Number.",
      +      "type": "number"
      +    },
      +    "protectedAttributesUsed": {
      +      "description": "protectedAttributesUsed. Boolean.",
      +      "type": "boolean"
      +    },
      +    "recommendations": {
      +      "description": "recommendations. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "attendancePredicted": {
      +            "description": "attendancePredicted. Boolean.",
      +            "type": "boolean"
      +          },
      +          "code": {
      +            "description": "code. String.",
      +            "type": "string"
      +          },
      +          "detail": {
      +            "description": "detail. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "reminderSent": {
      +      "description": "reminderSent. Boolean.",
      +      "type": "boolean"
      +    },
      +    "sampleSufficient": {
      +      "description": "sampleSufficient. Boolean.",
      +      "type": "boolean"
      +    },
      +    "shortNoticeCount": {
      +      "description": "shortNoticeCount. Number.",
      +      "type": "number"
      +    },
      +    "status": {
      +      "description": "status. String.",
      +      "type": "string"
      +    },
      +    "uncertainty": {
      +      "description": "uncertainty. String.",
      +      "type": "string"
      +    },
      +    "weekdays": {
      +      "description": "weekdays. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "cancellationCount": {
      +            "description": "cancellationCount. Number.",
      +            "type": "number"
      +          },
      +          "sampleSufficient": {
      +            "description": "sampleSufficient. Boolean.",
      +            "type": "boolean"
      +          },
      +          "shortNoticeCount": {
      +            "description": "shortNoticeCount. Number.",
      +            "type": "number"
      +          },
      +          "shortNoticeRate": {
      +            "description": "shortNoticeRate. Number.",
      +            "type": "number"
      +          },
      +          "shortNoticeRateSupplied": {
      +            "description": "shortNoticeRateSupplied. Boolean.",
      +            "type": "boolean"
      +          },
      +          "uncertainty": {
      +            "description": "uncertainty. String.",
      +            "type": "string"
      +          },
      +          "weekday": {
      +            "description": "weekday. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources