Skip to main content
Glama

Export due dates calendar

export_due_dates_calendar
Read-only

Build an ICS calendar file of upcoming Google Classroom due dates for import into a calendar app. Filter by course IDs or course name, or include all active classes.

Instructions

Build an ICS calendar file of upcoming due dates so they can be imported into a calendar app. Pass course_ids to limit it, or leave empty for all active classes. Use this when the user asks 'Can you give me my due dates as a calendar file?'

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_due_dates_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idsNoClassroom course IDs to check. Leave empty for all active classes.
course_nameNoPart of a class name or section, for example Biology. It is matched without checking case and added to course_ids, so you can skip get_my_courses. Leave empty to use course_ids only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • addedInput schema / properties / course_name
      Added value: +{
      +  "description": "Part of a class name or section, for example Biology. It is matched without checking case and added to course_ids, so you can skip get_my_courses. Leave empty to use course_ids only.",
      +  "type": "string"
      +}
  2. Addedv0.1.9

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds the key behavioral fact that the result is an ICS file meant for calendar import, plus the default scope of all active classes when no filter is given. It omits anything about time range covered by 'upcoming' or file size/limits.

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

Conciseness5/5

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

Three short sentences, output artifact first, filtering second, triggering user phrasing last — every sentence carries information and nothing is padding.

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 no output schema present, the description correctly identifies the returned artifact as an ICS file, and both optional filters are covered by the schema. Only the meaning of 'upcoming' (the date window) is left unspecified.

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 coverage is 100%, so both parameters are already documented, including the get_my_courses hint and the name-matching behavior. The description only restates the course_ids scoping and default, and never mentions course_name, so it adds little beyond the schema baseline.

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?

States a specific verb and artifact ('Build an ICS calendar file of upcoming due dates'), which cleanly separates it from siblings like get_upcoming_due_dates that return raw date data rather than an importable file.

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 an explicit trigger ('Use this when the user asks... as a calendar file?') and states both scoping modes. It does not name the nearest alternative (get_upcoming_due_dates), so an agent must infer that the file-export intent is the deciding factor.

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