Skip to main content
Glama

Reschedule missed days

reschedule_missed_days
Read-onlyIdempotent

Rebuilds a study plan after missed study days by subtracting hours already completed and spreading remaining exam hours from a start date across your available days.

Instructions

Rebuild a study plan after missed study days. Give each exam the hours you have already done and it takes those off the exam, then spreads the hours that are left over the days from start_date, using the same hours_per_day, hours_per_weekday and days_off as the plan tools. When an exam has topics, the hours done come off the topics in proportion to their hours. The answer shows the hours done and the hours left for each exam, and the repaired plan from start_date. Dates can be plain text, like Dec 12 or in 3 weeks. Example prompt: "I missed three days and did 4 hours of networking. Reschedule the rest of my study."

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": "reschedule_missed_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
examsYesExams with name, date, optional hours needed, optional topics, and hours_done for the hours you already studied.
days_offNoWeekdays with no studying, like ["sun"].
start_dateNoFirst day of the repaired plan. 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.
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.

Output Schema

NameRequiredDescriptionDefault
daysYes
fitsYesTrue when every exam gets all its hours left.
examsYes
shortYes
hours_doneYesHours already done over all exams.
hours_leftYesHours still to study over all exams.
start_dateYesFirst day of the repaired plan, as YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.9
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "days": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "description": "Study day, as YYYY-MM-DD.",
      +            "type": "string"
      +          },
      +          "items": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "hours": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "topics": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "hours": {
      +                        "type": "number"
      +                      },
      +                      "name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "name",
      +                      "hours"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "hours"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "total_hours": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "total_hours",
      +          "items"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "exams": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "description": "Exam date, as YYYY-MM-DD.",
      +            "type": "string"
      +          },
      +          "hours_done": {
      +            "type": "number"
      +          },
      +          "hours_left": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "topics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "hours_done": {
      +                  "type": "number"
      +                },
      +                "hours_left": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "hours_done",
      +                "hours_left"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "date",
      +          "hours_done",
      +          "hours_left"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "fits": {
      +      "description": "True when every exam gets all its hours left.",
      +      "type": "boolean"
      +    },
      +    "hours_done": {
      +      "description": "Hours already done over all exams.",
      +      "type": "number"
      +    },
      +    "hours_left": {
      +      "description": "Hours still to study over all exams.",
      +      "type": "number"
      +    },
      +    "short": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "hours_short": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "topics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "hours": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "hours"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "hours_short"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "start_date": {
      +      "description": "First day of the repaired plan, as YYYY-MM-DD.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "start_date",
      +    "fits",
      +    "hours_done",
      +    "hours_left",
      +    "exams",
      +    "days",
      +    "short"
      +  ],
      +  "type": "object"
      +}
  2. Addedv0.1.7

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description explains the core transformation: hours_done are deducted from exams, topic hours are reduced proportionally, and remaining hours are spread from start_date. It also describes the returned hours done, hours left, and repaired plan.

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 description is front-loaded with the purpose and algorithm, and most sentences add relevant behavior. Some date-format explanation duplicates the schema, but the example prompt usefully illustrates the intended input.

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?

For a tool with rich schema coverage, annotations, and an output schema, the description covers the scenario, the redistribution logic, topic handling, and the shape of the result. An agent has enough information to invoke it correctly.

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 the schema already documents the parameters. The description still adds meaning by clarifying how hours_done affects exams and topics and by stating that planning parameters behave like the plan tools.

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 description states a specific verb and resource: rebuild a study plan after missed study days. It clearly distinguishes this from initial planning by explaining that completed hours are removed and remaining hours are redistributed.

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?

The missed-days scenario and example prompt make the intended use clear. It references the same hours parameters as the plan tools but does not explicitly name which sibling to use for non-missed-day planning.

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