Skip to content

Human Calendar Connections

Chronary can combine an agent’s own calendars with human calendars connected through Google or Microsoft OAuth. Humans stay in control of consent, calendar selection, agent mappings, and publishing. Agents receive only free/busy results and connection status—never OAuth tokens, account identities, calendar names, event titles, or event descriptions.

Open Human calendars in the Chronary console and choose Google Calendar or Microsoft Outlook. Google connections are availability-only; Microsoft Outlook additionally offers availability plus publishing. After provider consent, choose which calendars may contribute busy time and map them to selected agents, all current agents, or all current and future agents.

An agent can request setup without performing OAuth itself:

const link = await chronary.connectionLinks.create('cal_...', {
capabilities: ['availability'],
});
// Deliver link.setup_url to a human, then poll without replaying the secret.
const status = await chronary.connectionLinks.get(link.id);

MCP agents use create_connection_link, get_connection_link, and cancel_connection_link. The setup_url is a short-lived bearer secret returned only by the original create call. If a create response says reused: true with setup_url: null, use the URL retained from the original call or cancel and create a replacement.

For each queried agent, Chronary combines:

  1. busy intervals from all of the agent’s Chronary calendars;
  2. recurring occurrences and availability rules;
  3. imported iCal events, when configured; and
  4. opaque busy intervals from every human calendar granted to that agent.

Availability responses include:

{
"availability_state": "complete",
"sources": {
"chronary": "current",
"external": "current",
"last_synced_at": "2026-07-12T18:30:00.000Z"
},
"warnings": []
}

The default is fail-closed. If required human-calendar data is stale, partial, or unavailable, slots are empty and warnings contains availability_incomplete. REST, SDK, and CLI callers may pass allow_stale=true for non-committing exploration when a usable cached generation exists. MCP intentionally does not expose this override; agents should always inspect availability_state and warnings.

OAuth connections are refreshed into Chronary’s opaque busy cache rather than queried once per availability request. This protects provider APIs from high-TPS agent workloads and makes query latency predictable. Source timestamps and health make cache freshness explicit.

An all-day Outlook event (such as an out-of-office day) blocks midnight to midnight in the event’s own time zone. When Outlook does not say which zone the event is in (no zone, or a custom zone it does not name), the day is read in the timezone of the Chronary calendar whose availability is being checked: for calendar availability and booking pages, that calendar; for agent and multi-agent availability, the zone the agent’s calendars share. When the agent’s calendars are in different zones, or the calendar is in UTC (the default), the day stays midnight to midnight UTC. A change to a calendar’s timezone applies from the next availability check. Google calendars report busy times, not dates, so this does not apply to them.

  • Selected agents grants the chosen sources only to named agents.
  • All current agents snapshots the agents that exist when the mapping is created.
  • All current and future agents dynamically applies to every agent in the organization.

Connections are not visible organization-wide by default. Availability is included only when an active grant authorizes the queried agent. Agent keys can create setup links only for their own agent’s calendars.

Optional event publishing (Microsoft Outlook)

Section titled “Optional event publishing (Microsoft Outlook)”

Publishing is separate, opt-in, and available for Microsoft Outlook only. A human must grant publishing permission and select a writable Microsoft Outlook destination for each Chronary calendar. They can choose confirmed events only, or confirmed plus tentative events. Each published copy carries the event’s title, description, and time. A confirmed event shows as Busy; with confirmed plus tentative, a tentative event shows as Tentative. Holds and recurring series are not published. A hold is published when it is confirmed, and a tentative event when it becomes confirmed. When the agent changes the event, Chronary updates the copy. When the agent cancels or deletes it, or changes it to a state that is not published, Chronary removes the copy. Events created by a booking page or by a resolved scheduling proposal are published like any other event on the calendar, including a booker’s name, email, and notes. It never touches other events. Changing the destination moves the published copies to the new calendar, and removing the destination or deleting the Chronary calendar removes them; either takes a few minutes to reach Outlook. Turning off the connection’s publishing removes them too, while the connection is active and Chronary still has permission to write to the calendar; otherwise they stay for the person to delete. Connecting the same account again only adds permissions, so it never turns publishing off. Disconnecting the connection or deleting the account removes the copies Chronary can reach at that moment; any left behind (for example when Outlook refuses the request) stay for the person to delete.

A Microsoft availability-only connection can be reauthorized later with publishing permission. Google connections are availability-only. Agents cannot choose or inspect the human destination.

The console shows provider, status, selected calendars, authentication time, and safe per-calendar sync health. A human can refresh, pause, resume, reauthorize, or disconnect a connection; enable, disable, or delete mappings; and replace or remove publishing destinations.

Google and Microsoft share the same availability behavior—the API, MCP tools, mappings, privacy boundary, and availability response are provider-neutral. Provider consent screens and supported account policies differ. Event publishing is the exception: it is available for Microsoft Outlook only, and Google connections are availability-only.

Disconnect a connection from its Settings tab in the console. Disconnecting:

  • removes the connection’s availability mappings and publishing destinations, so agents stop seeing its busy time right away;
  • deletes what Chronary stored for the connection: the access and refresh tokens, the account’s email address, provider identifiers, calendar names, busy times, and sync state;
  • first removes the events Chronary published to a Microsoft Outlook calendar. Any it cannot reach at that moment stay in place for the person to delete; Chronary stops updating them.

Google: Chronary also revokes its access at Google when you disconnect, unless the same Google account is still connected to another Chronary organization (revoking would disconnect that one too). You can check this, or remove the access yourself at any time, on the linked apps page of your Google Account.

Microsoft: Microsoft offers no way for Chronary to revoke its own access. After disconnecting, Chronary can no longer reach the account, because it no longer holds a token. To also remove Chronary’s access on Microsoft’s side, remove it in your Microsoft account settings:

  • personal Microsoft accounts: account.live.com/consent/Manage;
  • work or school accounts: My Apps, then open Chronary, choose Manage your application, and choose Revoke permissions. If your administrator granted the permission, ask them to remove it.

To connect the same account again later, start a new connection. It starts with no stored data.

iCal subscriptions remain useful for providers without OAuth support or when an organization cannot approve an OAuth app. They are read-only and polling-based. Prefer OAuth connections for Google and Microsoft because they provide explicit health, source selection, and controlled mappings (plus optional publishing for Microsoft Outlook).