Appointment request check

appointment-request-check · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Check an appointment request against pinned time-zone facts and caller-supplied booking rules.

Use when you need to: check appointment request · validate booking against opening hours · test appointment blackout conflict.

Decide before calling

Read the versioned contract and the supported scope below. Reuse appointment-request-check@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use appointment-request-check@1.0.0 for check appointment request. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "caller_rule_version": "policy-v7",
  "zone_id": "UTC",
  "now": "2026-06-01T00:00:00Z",
  "notice_seconds": 0,
  "horizon_seconds": 31536000,
  "opening_hours": [
    {
      "weekday": 1,
      "start": "09:00",
      "end": "12:00"
    }
  ],
  "blackouts": [],
  "start": "2026-06-01T09:00:00Z",
  "duration_seconds": 3600
}

Response:

{
  "result": {
    "standard_version": "RFC3339+ISO8601-1:2019",
    "data_version": "iana-tzdb-2025b-compact",
    "caller_rule_version": "policy-v7",
    "zone_id": "UTC",
    "valid": true,
    "reason": "ok",
    "start_epoch_seconds": 1780304400,
    "end_epoch_seconds": 1780308000
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "appointment-request-check",
  "version": "1.0.0",
  "input": {
    "caller_rule_version": "policy-v7",
    "zone_id": "UTC",
    "now": "2026-06-01T00:00:00Z",
    "notice_seconds": 0,
    "horizon_seconds": 31536000,
    "opening_hours": [
      {
        "weekday": 1,
        "start": "09:00",
        "end": "12:00"
      }
    ],
    "blackouts": [],
    "start": "2026-06-01T09:00:00Z",
    "duration_seconds": 3600
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/appointment-request-check/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"caller_rule_version":"policy-v7","zone_id":"UTC","now":"2026-06-01T00:00:00Z","notice_seconds":0,"horizon_seconds":31536000,"opening_hours":[{"weekday":1,"start":"09:00","end":"12:00"}],"blackouts":[],"start":"2026-06-01T09:00:00Z","duration_seconds":3600}'

The machine-readable contract is at /v1/tools/appointment-request-check/versions/1.0.0.

CLI

node cli.mjs run appointment-request-check 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.