Skip to main content
Glama

Get schedule

get_schedule
Read-only

Read the calendar: the agenda, what is on, how busy the user is, free time, or where the time goes. One call returns now, the timezone, the user's areas, activityTypes and projects (the ids for areaId / activityTypeId / projectId; a project has an areaId; an archived project has archived: true and takes no new links until a manage_categories update archived: false), userPreferences, and a days array. Each day has its events, its freeSlots, and its blocking load per area, activity type and project (projectId null is no project; the overlay load comes separately). A read of more than one day also has a top-level loadByProject, the sum of its days. Call it before you schedule.

An event from an earlier day that runs into this day comes first, with its real start, on each day that it touches; only its time inside the day counts for load and free slots. A warning marks a start time that a DST change skips. Each event has its source ("reassign", else a provider like "google"), its home calendarId (absent = the default calendar, null = the dial only; homePending: true = a move to it is not done yet) and any mirrorCalendarIds (with mirrorStyles when a copy is private or busy). readOnly: true marks an event on a calendar that the user does not own. kind "non_blocking" is an overlay that may overlap others; "reference" is see-only: its hours stay free, so do not move, delete, or schedule work into it unless asked. A confirmed past day has a review adherence rollup and per-event reflect actuals; use them for how a day or week went. integrations describes each connected calendar (its timezone is information only; its copyStyle applies when mirrorStyles omits it). A one-day read has a one-line weather headline when the user has a city.

Inbox: backlogCount is the number of Inbox blocks. Pass includeBacklog: true for the items (top of tray first, up to 50), each with a projectId and a priority; with a filter, backlogMatchedCount is the number of matches. When nextBacklogOffset is not null, pass it as backlogOffset with the same filters. Place or manage items with manage_inbox.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "get_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesLast day of the range, inclusive.
fromYesFirst day of the range, inclusive.
minDurationNoReturn only the `freeSlots` of at least this many minutes.
backlogOffsetNoThe Inbox page offset from nextBacklogOffset, with the same filters. Needs includeBacklog.
includeEnergyNoAdd `energy`: the forecast energy curve (peak and dip windows) from logged sleep. Put focus work in a peak and admin in a dip. One day only.
includeSeriesNoAlso return the recurring masters as `series`.
includeBacklogNoAlso return the Inbox items (`backlog`), for a user who wants to see, schedule or manage the Inbox.
includeLookupsNofalse leaves out `areas`, `activityTypes`, `projects` and `integrations` when an earlier read has them.
includeWeatherNoThe full forecast instead of the one-line `weather` headline. Use it only for an outdoor or weather-sensitive plan, or when the user asks about the weather. One day only.
weatherLocationNoA place to forecast instead of the user's city, e.g. "London"; its times are local to that place. Needs includeWeather.
backlogPlannedOnNoOnly the Inbox blocks planned for this day (also by a window). Needs includeBacklog.
backlogProjectIdNoOnly the Inbox blocks of this project id, or "none" for no project. Needs includeBacklog.
backlogMinPriorityNoOnly the Inbox blocks with at least this priority (0 to 4). Needs includeBacklog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / backlogMinPriority / description
      Previous value: -"Filter the Inbox blocks to a priority of at least this value (0 none, 1 low, 2 medium, 3 high, 4 urgent). Needs includeBacklog: true; composes with the other filters."New value: +"Only the Inbox blocks with at least this priority (0 to 4). Needs includeBacklog."
    • changedInput schema / properties / backlogOffset / description
      Previous value: -"Inbox page offset from nextBacklogOffset; keep the same filters. Needs includeBacklog: true."New value: +"The Inbox page offset from nextBacklogOffset, with the same filters. Needs includeBacklog."
    • changedInput schema / properties / backlogPlannedOn / description
      Previous value: -"Filter the Inbox blocks to those planned for this day (a planned day, or a planned window that covers it). Needs includeBacklog: true."New value: +"Only the Inbox blocks planned for this day (also by a window). Needs includeBacklog."
    • changedInput schema / properties / backlogProjectId / description
      Previous value: -"Filter the Inbox blocks to one project id, or \"none\" for the blocks with no project. Needs includeBacklog: true; composes with the other filters."New value: +"Only the Inbox blocks of this project id, or \"none\" for no project. Needs includeBacklog."
    • changedInput schema / properties / includeBacklog / description
      Previous value: -"Include the Inbox items (the `backlog` array), not just `backlogCount`. Pass true when the user wants to see, schedule, or manage their Inbox."New value: +"Also return the Inbox items (`backlog`), for a user who wants to see, schedule or manage the Inbox."
    • changedInput schema / properties / includeEnergy / description
      Previous value: -"Add `energy`: the user's forecast energy curve for the day (peak and dip windows, the current level today, calibration state), built from logged sleep. Use it to put focus work in a peak and admin in a dip. With no logged sleep it is a short nudge to log sleep. Needs one day (`from` equal to `to`)."New value: +"Add `energy`: the forecast energy curve (peak and dip windows) from logged sleep. Put focus work in a peak and admin in a dip. One day only."
    • changedInput schema / properties / includeLookups / description
      Previous value: -"Default true. Pass false to leave out `areas`, `activityTypes`, `projects` and `integrations` when you already have them from an earlier read."New value: +"false leaves out `areas`, `activityTypes`, `projects` and `integrations` when an earlier read has them."
    • changedInput schema / properties / includeWeather / description
      Previous value: -"Replace the one-line `weather` headline with the full forecast for the day (condition, temperature range, rain window, daylight, and a part-of-day breakdown). Use it only for an outdoor or weather-sensitive plan, or when the user asks about the weather. Needs one day (`from` equal to `to`)."New value: +"The full forecast instead of the one-line `weather` headline. Use it only for an outdoor or weather-sensitive plan, or when the user asks about the weather. One day only."
    • changedInput schema / properties / weatherLocation / description
      Previous value: -"A city or place name to forecast instead of the user's own city, e.g. \"London\". The forecast date and times are local to that place; the report names its timezone. Needs includeWeather: true."New value: +"A place to forecast instead of the user's city, e.g. \"London\"; its times are local to that place. Needs includeWeather."
  2. Changed3 schema fields changed
    • addedInput schema / properties / backlogMinPriority
      Added value: +{
      +  "description": "Filter the Inbox blocks to a priority of at least this value (0 none, 1 low, 2 medium, 3 high, 4 urgent). Needs includeBacklog: true; composes with the other filters.",
      +  "maximum": 4,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / backlogProjectId
      Added value: +{
      +  "description": "Filter the Inbox blocks to one project id, or \"none\" for the blocks with no project. Needs includeBacklog: true; composes with the other filters.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / includeLookups / description
      Previous value: -"Default true. Pass false to leave out `areas`, `activityTypes` and `integrations` when you already have them from an earlier read."New value: +"Default true. Pass false to leave out `areas`, `activityTypes`, `projects` and `integrations` when you already have them from an earlier read."
  3. Changed4 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / llm_model
      Removed value: -{
      -  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      -  "type": "string"
      -}
    • addedInput schema / properties / minDuration
      Added value: +{
      +  "description": "Return only the `freeSlots` of at least this many minutes.",
      +  "maximum": 1440,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "from",
      -  "to",
      -  "llm_model"
      -]New value: +[
      +  "from",
      +  "to"
      +]
  4. Changed5 schema fields changed
    • changedInput schema / properties / backlogPlannedOn / description
      Previous value: -"Filter the Inbox blocks to those planned for this day (a planned day, or a planned window that covers it). Needs includeBacklog: true; composes with backlogQuery."New value: +"Filter the Inbox blocks to those planned for this day (a planned day, or a planned window that covers it). Needs includeBacklog: true."
    • removedInput schema / properties / backlogQuery
      Removed value: -{
      -  "description": "Filter the Inbox blocks by name (fuzzy, case/accent-insensitive), e.g. \"dentist\". Needs includeBacklog: true.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / includeEnergy
      Added value: +{
      +  "description": "Add `energy`: the user's forecast energy curve for the day (peak and dip windows, the current level today, calibration state), built from logged sleep. Use it to put focus work in a peak and admin in a dip. With no logged sleep it is a short nudge to log sleep. Needs one day (`from` equal to `to`).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeWeather
      Added value: +{
      +  "description": "Replace the one-line `weather` headline with the full forecast for the day (condition, temperature range, rain window, daylight, and a part-of-day breakdown). Use it only for an outdoor or weather-sensitive plan, or when the user asks about the weather. Needs one day (`from` equal to `to`).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / weatherLocation
      Added value: +{
      +  "description": "A city or place name to forecast instead of the user's own city, e.g. \"London\". The forecast date and times are local to that place; the report names its timezone. Needs includeWeather: true.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • removedInput schema / properties / conversation_id
      Removed value: -{
      -  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      -  "type": "string"
      -}
    • addedInput schema / properties / includeLookups
      Added value: +{
      +  "description": "Default true. Pass false to leave out `areas`, `activityTypes` and `integrations` when you already have them from an earlier read.",
      +  "type": "boolean"
      +}
  6. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "from",
      -  "to"
      -]New value: +[
      +  "from",
      +  "to",
      +  "llm_model"
      +]
  7. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / backlogOffset / description
      Previous value: -"Inbox page offset from nextBacklogOffset; keep the same filters. Implies includeBacklog."New value: +"Inbox page offset from nextBacklogOffset; keep the same filters. Needs includeBacklog: true."
    • changedInput schema / properties / backlogPlannedOn / description
      Previous value: -"Filter the Inbox blocks to those PLANNED for this day (a block's planned day, or a planned window covering it) — e.g. today's date to answer \"what did I plan to get to today?\". Implies includeBacklog; composes with backlogQuery. Overdue blocks carry `overdue: true` on the unfiltered read instead."New value: +"Filter the Inbox blocks to those planned for this day (a planned day, or a planned window that covers it). Needs includeBacklog: true; composes with backlogQuery."
    • changedInput schema / properties / backlogQuery / description
      Previous value: -"Filter the Inbox blocks by name (fuzzy, case/accent-insensitive) — e.g. \"dentist\". Implies includeBacklog; use it to FIND a specific Inbox block by name instead of paging the whole Inbox."New value: +"Filter the Inbox blocks by name (fuzzy, case/accent-insensitive), e.g. \"dentist\". Needs includeBacklog: true."
    • removedInput schema / properties / compact
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / date
      Removed value: -{
      -  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -  "type": "string"
      -}
    • removedInput schema / properties / dates
      Removed value: -{
      -  "items": {
      -    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -    "type": "string"
      -  },
      -  "maxItems": 366,
      -  "type": "array"
      -}
    • addedInput schema / properties / from / description
      Added value: +"First day of the range, inclusive."
    • addedInput schema / properties / includeSeries / description
      Added value: +"Also return the recurring masters as `series`."
    • addedInput schema / properties / to / description
      Added value: +"Last day of the range, inclusive."
    • addedInput schema / required
      Added value: +[
      +  "from",
      +  "to"
      +]
  8. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / backlogOffset
      Added value: +{
      +  "description": "Inbox page offset from nextBacklogOffset; keep the same filters. Implies includeBacklog.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  9. Changed3 schema fields changed
    • changedInput schema / properties / backlogPlannedOn / description
      Previous value: -"Filter the parked blocks to those PLANNED for this day (a block's planned day, or a planned window covering it) — e.g. today's date to answer \"what did I plan to get to today?\". Implies includeBacklog; composes with backlogQuery. Overdue blocks carry `overdue: true` on the unfiltered read instead."New value: +"Filter the Inbox blocks to those PLANNED for this day (a block's planned day, or a planned window covering it) — e.g. today's date to answer \"what did I plan to get to today?\". Implies includeBacklog; composes with backlogQuery. Overdue blocks carry `overdue: true` on the unfiltered read instead."
    • changedInput schema / properties / backlogQuery / description
      Previous value: -"Filter the parked blocks by name (fuzzy, case/accent-insensitive) — e.g. \"dentist\". Implies includeBacklog; use it to FIND a specific parked block by name instead of paging the whole inbox."New value: +"Filter the Inbox blocks by name (fuzzy, case/accent-insensitive) — e.g. \"dentist\". Implies includeBacklog; use it to FIND a specific Inbox block by name instead of paging the whole Inbox."
    • changedInput schema / properties / includeBacklog / description
      Previous value: -"Include the parked-block items (the `backlog` array), not just `backlogCount`. Pass true when the user wants to see, schedule, or manage their inbox."New value: +"Include the Inbox items (the `backlog` array), not just `backlogCount`. Pass true when the user wants to see, schedule, or manage their Inbox."
  10. Changed1 schema field changed
    • addedInput schema / properties / backlogPlannedOn
      Added value: +{
      +  "description": "Filter the parked blocks to those PLANNED for this day (a block's planned day, or a planned window covering it) — e.g. today's date to answer \"what did I plan to get to today?\". Implies includeBacklog; composes with backlogQuery. Overdue blocks carry `overdue: true` on the unfiltered read instead.",
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
  11. Changed2 schema fields changed
    • addedInput schema / properties / backlogQuery
      Added value: +{
      +  "description": "Filter the parked blocks by name (fuzzy, case/accent-insensitive) — e.g. \"dentist\". Implies includeBacklog; use it to FIND a specific parked block by name instead of paging the whole inbox.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / includeBacklog
      Added value: +{
      +  "description": "Include the parked-block items (the `backlog` array), not just `backlogCount`. Pass true when the user wants to see, schedule, or manage their inbox.",
      +  "type": "boolean"
      +}
  12. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world, so the safety profile is covered; the description goes well beyond that by explaining cross-day event carryover, DST-skipped starts producing a `warning`, `readOnly` events on unowned calendars, `kind: reference` hours staying free, and `archived` projects accepting no new links. It is mostly return-shape disclosure rather than side-effect or auth disclosure, hence a 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the follow-on paragraphs are organized by topic (events, review/reflect, integrations, Inbox). It is long and parenthetical-heavy, but the length is largely justified by the absence of an output schema and 13 parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden of explaining the returned shape — `now`, `timezone`, `areas`, `activityTypes`, `projects`, `days` with `events`/`freeSlots`/load, top-level `loadByProject`, `review`/`reflect`, `integrations`, `weather` — and it does so thoroughly. Nothing essential to calling or interpreting the result is missing.

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 baseline would be 3, but the description adds real meaning: it explains the `backlogOffset`/`nextBacklogOffset` paging loop, that `backlog` returns up to 50 items top-of-tray first, that filters yield `backlogMatchedCount`, and that includeEnergy/includeWeather are one-day-only. That is meaningfully more than the schema's one-line parameter notes.

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?

Opens with a concrete verb and resource — 'Read the calendar' — and enumerates the questions it answers (agenda, busyness, free time, where the time goes). It is clearly distinguishishable from mutation siblings and explicitly routes Inbox placement to manage_inbox.

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 real when-to-use guidance: 'Call it before you schedule', 'Place or manage items with manage_inbox', includeWeather only for outdoor/weather-sensitive plans, includeLookups false when an earlier read already supplied lookups. It does not differentiate against other read siblings such as get_moments, show_day or review_day, so it stops short of full alternative routing.

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.