Skip to main content
Glama

Exam countdown

exam_countdown
Read-onlyIdempotent

Checks whether you are on track for each exam by calculating days left, available study days, remaining study hours, and an On track or Behind verdict from your daily study availability.

Instructions

Check whether you are on track for each exam. For every exam it gives the days left, the study days left, the hours still to study, the hours to put in on each study day and a plain On track or Behind verdict, using the same hours per day, hours per weekday and days off as the plan tools. Give from_date to count from a fixed day. Dates can be plain text, like Dec 12 or in 3 weeks. Example prompt: "Am I on track for my exam on 2026-12-12 if I can study 2 hours a day?"

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

Input Schema

NameRequiredDescriptionDefault
examsYesExams with name, date, optional hours needed and optional topics with their own hours.
days_offNoWeekdays with no studying, like ["sun"].
from_dateNoThe day to count from. 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
examsYes
from_dateYesThe day counted from, 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": {
      +    "exams": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "date": {
      +            "description": "Exam date, as YYYY-MM-DD.",
      +            "type": "string"
      +          },
      +          "days_left": {
      +            "type": "number"
      +          },
      +          "hours_needed": {
      +            "type": "number"
      +          },
      +          "hours_per_study_day": {
      +            "type": "number"
      +          },
      +          "hours_short": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "on_track": {
      +            "type": "boolean"
      +          },
      +          "passed": {
      +            "type": "boolean"
      +          },
      +          "study_days_left": {
      +            "type": "number"
      +          },
      +          "topics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "hours_short": {
      +                  "type": "number"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "need": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "need",
      +                "hours_short"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "date",
      +          "days_left",
      +          "study_days_left",
      +          "hours_needed",
      +          "hours_per_study_day",
      +          "hours_short",
      +          "on_track",
      +          "passed"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "from_date": {
      +      "description": "The day counted from, as YYYY-MM-DD.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "from_date",
      +    "exams"
      +  ],
      +  "type": "object"
      +}
  2. Addedv0.1.7

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: it explains the computation basis (shared assumptions with the plan tools) and lists exactly what each per-exam result contains, including the plain On track/Behind verdict.

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 purpose is front-loaded in the first sentence, followed by the output inventory and then the parameter tip. The trailing example prompt is somewhat redundant with the schema's date-format notes but useful for illustrating the intended query, and overall there is little wasted text.

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

Completeness4/5

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

With an output schema present, the description need not explain return shapes in detail, and annotations cover safety. Combined with 100% parameter coverage, the definition is complete enough to invoke correctly; the only soft spot is the absence of explicit routing to sibling tools for plan creation or rescheduling.

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 all five parameters are already documented in the schema, including date formats, defaults, hours_per_weekday fallback logic and the days_off interaction. The description adds the from_date default-to-today nuance and reinforces flexible date parsing, but does not explain the returned-hours default of 10 or other semantics beyond what the schema states, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'check whether you are on track for each exam' – and enumerates the verdict metrics (days left, study days left, hours still to study, hours per study day, On track/Behind). It also distinguishes itself from the planning siblings by saying it reuses the 'same hours per day, hours per weekday and days off as the plan tools', though it never names a specific sibling such as make_study_plan.

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 clear usage context: it is the status-checking companion to the plan tools, and it tells the agent to supply from_date when counting from a fixed day rather than today. The example prompt demonstrates the intended question shape. It stops short of explicit when-not guidance or naming which alternative to use for creating or rescheduling a plan.

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