Generate attendance sheet
generate_attendance_sheetUse this when the user wants an attendance sheet or class roster template to print, with student or member names pre-filled from a pasted list, with one column per session date (from a list of dates, a start and end date with meeting days, a number of weeks, or a month) or blank date columns, plus a Total column. Long rosters continue on more pages and too many dates split into column sets, with headings repeated. Returns a PDF and a CSV template. Does not take attendance online, calculate grades or store records.
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": "generate_attendance_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date printed in the header, in any common form, e.g. "2026-11-14", "Nov 14 2026" or "11/14/2026" (read as US month/day). Leave out to print a blank Date line. | |
| days | No | Meeting days, e.g. "Mon, Wed, Fri", "MWF", "Tuesdays and Thursdays" or "weekdays" (default). | |
| rows | No | Number of writing rows, e.g. 25 or "40 rows". Leave out to fill one page exactly. More rows than fit continue on more pages, each page full; "20 per page" sets rows per page. | |
| sort | No | Sort the names: "last" (by last name), "first" (alphabetical) or leave out to keep the order given. | |
| dates | No | Session dates for the column headings, e.g. ["2026-11-02", "2026-11-04"] or "Nov 2, Nov 4, Nov 6". Or use start_date with end_date, weeks, sessions or month. | |
| month | No | A whole month of meeting days, e.g. "November 2026". | |
| names | No | Student or member names, pasted as one name per line, comma separated text or a list, e.g. "Ava Brown\nLiam Chen\nNoah Diaz" or ["Ava Brown", "Liam Chen"]. "Last, First" names stay whole when one per line. Leave out for blank name rows. | |
| pages | No | Number of identical blank pages when no list is given, 1 to 50, e.g. 3. Default 1. | |
| title | No | Class or group name printed as the heading, e.g. "Period 3 Biology". Default "Attendance Sheet". | |
| weeks | No | Number of weeks from start_date, e.g. 4. | |
| columns | No | Column headings to use instead of the defaults, as a list or comma separated text, e.g. ["Name", "Email", "Phone", "Signature"]. Any names work; widths follow the content (Email wide, Time In narrow, a "?" column is a tick box). | |
| teacher | No | Teacher or instructor printed in the header, e.g. "Ms. Patel". | |
| end_date | No | Last class date, e.g. "2026-12-18". | |
| location | No | Location printed in the header, e.g. "Room 204" or "Community Hall". Leave out for a blank line. | |
| numbered | No | Print a # column with row numbers, e.g. true. Default true for sign-in, contact and attendance sheets. | |
| org_name | No | Organization, school or business name printed above the title, e.g. "Maple Street PTA". | |
| sessions | No | Number of sessions (date columns), e.g. 10. Without dates the columns are left blank to write dates in. | |
| striping | No | Light gray shading on alternate rows (or alternate groups), e.g. false for plain rows. Default true. | |
| subtitle | No | Optional second line under the title, e.g. "Quarterly review, 6 pm". | |
| page_size | No | Paper size: "Letter" (default, 8.5x11), "A4" or "Legal". "A4 landscape" also sets the orientation. | |
| start_date | No | First class date, e.g. "2026-11-02". With end_date, weeks or sessions, dates are listed on the meeting days. | |
| orientation | No | "portrait" or "landscape", e.g. "landscape". Default portrait (visitor logs and attendance sheets: landscape). Switches to landscape by itself when the columns do not fit. | |
| instructions | No | One line of instructions under the header, e.g. "Please print clearly". Each type has a default; "none" removes it. | |
| total_column | No | Add a Total column at the end, e.g. false. Default true. | |
| extra_columns | No | Columns to add to the defaults, e.g. "Dietary needs" or ["T-shirt size", "Initials"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| notes | Yes | ||
| pages | Yes | ||
| title | Yes | ||
| groups | Yes | ||
| assumed | Yes | ||
| columns | Yes | ||
| downloads | Yes | ||
| page_size | Yes | ||
| blank_rows | Yes | ||
| sheet_type | Yes | ||
| total_rows | Yes | ||
| names_count | Yes | ||
| orientation | Yes | ||
| print_check | Yes | ||
| date_columns | Yes | ||
| row_height_in | Yes | ||
| rows_per_page | Yes | ||
| prefilled_rows | Yes | ||
| links_expire_minutes | Yes |