First-party app
TidyCal

TidyCal

Read and manage TidyCal scheduling: bookings, booking types, available timeslots, contacts and teams.

stable Calendar & SchedulingProductivity

About

TidyCal ships in the w6w first-party pack. It declares 18 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.tidycal
Version
0.1.2
Author
w6w
Licence
MIT
Categories
Calendar & Scheduling · Productivity

Overview

TidyCal is a scheduling tool — publish booking types, let people pick from your live availability, and get a booking with a contact attached — and this app covers that flow over TidyCal’s own REST API.

It lists booking types and their open timeslots, creates and cancels bookings, manages contacts, and covers TidyCal’s team features — team bookings, team booking types, and adding or removing team members. Reading real availability before booking means a workflow never has to reproduce TidyCal’s own scheduling logic, such as calendar conflicts, padding and minimum notice, itself.

Good for booking a call automatically once a lead reaches a certain stage elsewhere, canceling a booking when an external event says the meeting is no longer needed, syncing new bookings and contacts into a CRM, and coordinating team scheduling across a shared calendar link.

Build with TidyCal

Three routes to the same 18 actions. The Workflow tab is generated from TidyCal's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Get account

account-get

Fetch the connected TidyCal account's profile.

Cancel booking

booking-cancel

Cancel a booking by ID, with an optional reason.

Create booking

booking-create

Book a timeslot on a booking type for a named guest.

Get booking

booking-get

Fetch one booking by ID, including its contact, question answers and payment.

List bookings

booking-list

List the connected account's bookings, optionally filtered by date window.

Create booking type

booking-type-create

Create a new personal booking type (scheduling page).

List booking types

booking-type-list

List the account's booking types. The only endpoint that returns booking type IDs.

Create contact

contact-create

Create a contact. Requires a TidyCal lifetime subscription — otherwise TidyCal answers 402.

List contacts

contact-list

List the account's contacts. Includes each contact's captured IP address.

List team bookings

team-booking-list

List a team's bookings, filtered by date window, booker email, host or status.

Create team booking type

team-booking-type-create

Create a new booking type owned by a team.

List team booking types

team-booking-type-list

List a team's booking types. The personal booking-type list never includes these.

Get team

team-get

Fetch one team by ID.

List teams

team-list

List the teams the connected account owns or belongs to.

Add user to team

team-user-add

Invite a user to a team by email. Sends them an invitation email.

List team users

team-user-list

List the members of a team. The `id` on each row is a team-membership ID.

Remove user from team

team-user-remove

Remove a member from a team by their team-membership ID.

List available timeslots

timeslot-list

List bookable timeslots for a booking type within a UTC window, after TidyCal applies availability, existing bookings, calendar conflicts and padding.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying TidyCal's real ids.

{
  "manifestVersion": "2",
  "name": "tidycal-example",
  "steps": [
    {
      "id": "booking-create",
      "uses": {
        "app": "io.w6w.tidycal",
        "action": "booking-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "bookingType": "<bookingType>",
        "name": "<name>",
        "email": "<email>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create booking

    perform
    booking-create
  • Get account

    read
    account-get
  • Get booking

    read
    booking-get
  • List bookings

    search
    booking-list
  • Create booking type

    perform
    booking-type-create

+13 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for TidyCal, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to TidyCal. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "booking-create",
  payload: {
    bookingType: "<value>",
    // starts_at: "<value>",
    name: "<value>",
    email: "<value>",
    timezone: "<value>",
    // bookings: "<value>",
    // booking_questions: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action booking-create --payload '{"bookingType":"<value>","name":"<value>","email":"<value>","timezone":"<value>"}'

Give an AI agent TidyCal — without giving it TidyCal's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.tidycal#booking-create",
    "input": {
      "bookingType": "<bookingType>",
      "name": "<name>",
      "email": "<email>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's TidyCal connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

TidyCal's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. TidyCal itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

TidyCal declares its own checks, so its health is a property of the app rather than something the host guesses at.

dependency

TidyCal API reachable

Unauthenticated GET https://tidycal.com/api/me. A 401 {"message":"Unauthenticated."} passes — it proves the API router and auth middleware are serving. Credential validity is the derived auth:* checks' job.

service

Vendor status page

quota

API quota headroom