Skip to main content
Glama

Export study plan as ICS

export_study_plan_ics
Read-onlyIdempotent

Export a study plan as an .ics calendar file to import into Google Calendar or Apple Calendar, with study sessions, exams, and review dates as all-day events.

Instructions

Turn a study plan into an .ics calendar file to import into Google Calendar or Apple Calendar. It builds the same plan as build_study_plan, with the same hours_per_weekday if you set one, and answers with the whole file, so save the answer as plan.ics and open it. Every study session becomes an all day event that shows as free, with the topics of the session in its description when the exam has topics, and every exam becomes an all day event that shows as busy unless include_exams is false. Add reviews with the day you first studied each one to add Review: all day events to the calendar. Dates can be plain text, like Dec 12 or in 3 weeks. Example prompt: "Export my plan for a networking exam on 2026-12-12, 6 hours, starting 2026-12-07, as an ICS file."

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": {
      "exams": "<exams>"
    },
    "name": "export_study_plan_ics"
  }
}

Input Schema

NameRequiredDescriptionDefault
examsYesExams with name, date, optional hours needed and optional topics with their own hours.
reviewsNoTopics you are reviewing, with the day you first studied each one.
days_offNoWeekdays with no studying, like ["sun"].
start_dateNoFirst day to study. Defaults to today. Use 2026-12-12, or plain text like Dec 12, next Friday or in 3 weeks.
hours_per_dayNoStudy hours available on a study day.
include_examsNoAlso add an all day event on each exam day. Set false for study sessions only.
intervals_daysNoDays after the first study to review.
hours_per_weekdayNoStudy hours for each weekday, like [{day: "mon", hours: 2}, {day: "sat", hours: 6}]. Weekdays you leave out use hours_per_day, a weekday with 0 hours is a day off, and days in days_off are always left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.7
    • addedInput schema / properties / intervals_days
      Added value: +{
      +  "default": [
      +    1,
      +    3,
      +    7,
      +    14,
      +    30
      +  ],
      +  "description": "Days after the first study to review.",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / reviews
      Added value: +{
      +  "description": "Topics you are reviewing, with the day you first studied each one.",
      +  "items": {
      +    "properties": {
      +      "exam_date": {
      +        "description": "Exam date, if any. Reviews on or after it are skipped. Use 2026-12-12, or plain text like Dec 12, next Friday or in 3 weeks.",
      +        "type": "string"
      +      },
      +      "first_study_date": {
      +        "description": "The day you first studied it. Defaults to the plan start date. Use 2026-12-12, or plain text like Dec 12, next Friday or in 3 weeks.",
      +        "type": "string"
      +      },
      +      "topic": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "topic"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observedv0.1.3

TDQS

A4.4/5.0
Behavior5/5

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

With annotations already covering read-only, idempotent and non-destructive, the description nonetheless adds substantial new behavior: the whole file is returned and should be saved as plan.ics, sessions become free all-day events with topic names in the description, exams become busy all-day events unless include_exams is false, and reviews generate 'Review:' events. That is exactly the complementary context annotations cannot provide.

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?

The content is front-loaded with purpose and output handling, and each sentence carries information about event semantics or invocation. It is somewhat dense and long, with a little overlap against the schema, but nothing is padding.

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?

There is no output schema, and the description compensates by explaining what comes back (the whole file), what to do with it, and how the calendar entries are shaped. For an 8-parameter export tool, an agent has everything needed to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every parameter, including plain-text date formats and hours_per_weekday fallback rules. The description adds only the parity note ('same hours_per_weekday') and the include_exams event semantics, which the schema mostly covers too. Baseline 3 is appropriate.

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?

The opening sentence gives a specific verb and resource: 'Turn a study plan into an .ics calendar file', and names the concrete consumer (Google Calendar or Apple Calendar). It also distinguishes itself from build_study_plan by output form (same plan, but returned as a file), so an agent can pick it out of a crowded sibling list.

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?

Usage context is clear: it is the export path when the user wants a calendar file, and it explicitly mirrors build_study_plan's planning behavior. A closing example prompt reinforces the when. It stops short of an explicit exclusion ('use build_study_plan if you only want the schedule text'), which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.