gogcli-mcp-classroom
v4.12.0Google Classroom via gogcli for Claude — courses, assignments, submissions, grading
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gog_auth_list
List the Google accounts stored in gogcli, with their scopes. This reads local configuration only — it does not contact Google and does NOT tell you whether an account still works: a signed-out account whose refresh token expired or was revoked is listed here exactly like a healthy one, scopes and all. Use gog_auth_health to check whether an account can actually authenticate.
gog_auth_status
Show gogcli auth CONFIGURATION: keyring backend, credential files, and auth setup. Despite the name this is not a health check — it reads local setup and does not contact Google, so it says nothing about whether an account can still authenticate. Use gog_auth_health for that.
gog_auth_health
Check the LIVE health of each stored Google account. Unlike gog_auth_status (which only reports keyring/config setup), this performs a real token refresh against Google, so it detects expired or revoked (invalid_grant) refresh tokens — the account-wide sign-out that blocks every service. Reports per account: whether the token is currently valid, the mapped cause when it is not, how long ago it was authorized, and a warning as it approaches the 7-day refresh-token limit that applies to OAuth apps whose consent screen is still in "Testing" mode. Run it proactively to re-authorize on your own s…
gog_auth_services
List all Google services supported by gogcli and the OAuth scopes each requires.
gog_auth_add
Authorize a Google account via browser-based OAuth. Opens a browser window where the user must sign in and grant access. Blocks for up to 5 minutes waiting for the user to complete authorization. If the browser does not open automatically, a fallback URL is included in the response. Use gog_auth_list to check which accounts are already configured.
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email to authorize |
extraScopes | string | Additional raw OAuth scope URIs to request, comma-separated, on top of the ones `services` implies. Use for scopes no service covers — e.g. https://www.googleapis.com/auth/bigquery.readonly, require… |
services | string | Services to authorize: "all" or comma-separated list (e.g. "sheets,gmail,calendar"). Default: "classroom". Prefer the narrowest set you need — requesting a service whose Google API is not enabled on… |
gog_auth_add_url
Begin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser — no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load — that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the…
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email to authorize |
extraScopes | string | Additional raw OAuth scope URIs to request, comma-separated, on top of the ones `services` implies. Use for scopes no service covers — e.g. https://www.googleapis.com/auth/bigquery.readonly, require… |
services | string | Services to authorize: "all" or comma-separated list (e.g. "sheets,gmail,calendar"). Default: "classroom". Prefer the narrowest set you need — requesting a service whose Google API is not enabled on… |
gog_auth_add_complete
Complete REMOTE/headless Google authorization (step 2 of 2). Takes the full redirected localhost URL the user copied after finishing gog_auth_add_url, exchanges it for a refresh token, and stores it. Use the SAME `services` value you passed to gog_auth_add_url. Must run within 10 minutes of step 1 and against the same gogcli host.
| Parameter | Type | Description |
|---|---|---|
email * | string | Google account email being authorized (same as step 1) |
redirectUrl * | string | The full localhost redirect URL the user copied from the browser address bar after signing in (contains code and state; the page itself fails to load, which is expected). |
extraScopes | string | Extra OAuth scope URIs — MUST match the value passed to gog_auth_add_url, for the same reason `services` must: the two steps have to describe the same grant. |
services | string | Services authorized — MUST match the value passed to gog_auth_add_url. Default: "classroom". |
gog_auth_run
Run any gog auth subcommand not covered by the other tools. Run `gog auth --help` for the full list of subcommands, or `gog auth <subcommand> --help` for flags on a specific subcommand. Only these subcommands are available: list, status, services, alias. Flags that override server safety controls (--readonly, --enable-commands, --disable-commands, --account, --access-token, --home, --client, --gmail-no-send, --no-input) and a bare "--" are refused. Local file paths (--out, --out-dir, --attach, --file, --*-file, @file JSON) must be inside GOG_FILE_ROOTS; subcommands that take a local path posit…
| Parameter | Type | Description |
|---|---|---|
args * | array | Additional positional args and flags |
subcommand * | string | The gog auth subcommand to run, e.g. "alias", "list", "status" |
gog_classroom_courses_list
List Google Classroom courses.
| Parameter | Type | Description |
|---|---|---|
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
state | string | Comma-separated course states (ACTIVE, ARCHIVED, PROVISIONED, DECLINED, SUSPENDED) |
student | string | Filter by student user ID |
teacher | string | Filter by teacher user ID |
gog_classroom_courses_get
Get a single Google Classroom course by ID.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_students_list
List students enrolled in a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
gog_classroom_students_get
Get a specific student enrolled in a course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Student user ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_teachers_list
List teachers in a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
gog_classroom_teachers_get
Get a specific teacher in a course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Teacher user ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_roster
List the full roster (students and/or teachers) of a Google Classroom course. Omit both flags to return both groups.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
students | boolean | Include students only |
teachers | boolean | Include teachers only |
gog_classroom_coursework_list
List coursework (assignments, questions, materials) for a course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
orderBy | string | Sort order (e.g. "updateTime desc") |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
scanPages | number | Max pages to scan when filtering |
state | string | Filter by coursework state (PUBLISHED, DRAFT, DELETED) |
topic | string | Filter by topic ID |
gog_classroom_coursework_get
Get a single coursework item by ID.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_submissions_list
List student submissions for a coursework item.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
late | string | Filter by late status |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
state | string | Filter by submission state |
user | string | Filter by student user ID |
gog_classroom_submissions_get
Get a single submission by ID.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
submissionId * | string | Submission ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_submissions_grade
Grade a student submission. Set draft and/or assigned grade values.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
submissionId * | string | Submission ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
assigned | string | Assigned (final) grade value |
draft | string | Draft grade value |
gog_classroom_submissions_return
Return a graded submission to the student, who is notified and sees the grade. Reads the course, the coursework and the submission and asks the MCP host to show the user a confirmation prompt with the class, the assignment, the student and the grade being returned; nothing is returned unless they accept. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
submissionId * | string | Submission ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
gog_classroom_submissions_turn_in
Turn in a student submission (student action).
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
submissionId * | string | Submission ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_submissions_reclaim
Reclaim a turned-in submission (student action to edit a submission).
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
submissionId * | string | Submission ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_announcements_list
List announcements in a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
orderBy | string | Sort order |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
state | string | Filter by announcement state |
gog_classroom_announcements_get
Get a single announcement by ID.
| Parameter | Type | Description |
|---|---|---|
announcementId * | string | Announcement ID |
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_announcements_create
Create an announcement in a Google Classroom course. Unless state is DRAFT with no scheduled time (which students cannot see; a scheduled draft publishes itself), this reads the course and asks the MCP host to show the user a confirmation prompt with the class, the full text and when it publishes; nothing is posted unless they accept. To stage one without asking, pass state DRAFT and no scheduled time. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "c…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
text * | string | Announcement text |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
scheduled | string | Scheduled publish time (asks the user to confirm, even for a DRAFT) |
state | string | State (an unscheduled DRAFT is visible only to teachers and needs no confirmation) |
gog_classroom_topics_list
List topics in a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
gog_classroom_topics_get
Get a single topic by ID.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
topicId * | string | Topic ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_invitations_list
List Google Classroom invitations.
| Parameter | Type | Description |
|---|---|---|
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
all | boolean | Fetch all pages |
course | string | Filter by course ID |
max | number | Max results per page |
page | string | Deprecated alias for pageToken, accepted so existing callers keep working. Use pageToken — it matches the nextPageToken field in the response. |
pageToken | string | Cursor for the NEXT page. Pass back the nextPageToken from a previous response verbatim, keeping the query and max identical: call once, then call again with pageToken=<that value>. A response with NO… |
user | string | Filter by user ID |
gog_classroom_invitations_get
Get a single invitation by ID.
| Parameter | Type | Description |
|---|---|---|
invitationId * | string | Invitation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_invitations_accept
Accept a Google Classroom invitation.
| Parameter | Type | Description |
|---|---|---|
invitationId * | string | Invitation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_profile_get
Get a Google Classroom user profile. Omit userId to fetch the authenticated user.
| Parameter | Type | Description |
|---|---|---|
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
userId | string | User ID (omit for self) |
gog_classroom_run
Run any gog classroom subcommand not covered by the other tools. Run `gog classroom --help` for the full list of subcommands, or `gog classroom <subcommand> --help` for flags on a specific subcommand. Flags that override server safety controls (--readonly, --enable-commands, --disable-commands, --account, --access-token, --home, --client, --gmail-no-send, --no-input) and a bare "--" are refused. Local file paths (--out, --out-dir, --attach, --file, --*-file, @file JSON) must be inside GOG_FILE_ROOTS; subcommands that take a local path positionally (e.g. drive upload) are refused in favour of t…
| Parameter | Type | Description |
|---|---|---|
args * | array | Additional positional args and flags |
subcommand * | string | The gog classroom subcommand to run, e.g. "guardians", "materials", "guardian-invitations" |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_courses_create
Create a new Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
name * | string | Course name |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
description | string | Description |
descriptionHeading | string | Description heading |
owner | string | Owner user ID (default "me" on create) |
room | string | Room |
section | string | Section |
state | string | Course state |
gog_classroom_courses_update
Update an existing Google Classroom course. Setting owner transfers ownership of the course to that user — an access grant like inviting an OWNER — so the tool reads the course and asks the MCP host to show the user a confirmation prompt naming it and the new owner first; nothing changes unless they accept. Updates that leave the owner alone run without a prompt. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full prev…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
description | string | Description |
descriptionHeading | string | Description heading |
name | string | Course name |
owner | string | Owner user ID (default "me" on create) |
room | string | Room |
section | string | Section |
state | string | Course state |
gog_classroom_courses_delete
Delete a Google Classroom course — its coursework, submissions and grades go with it, for good. Reads the course and asks the MCP host to show the user a confirmation prompt naming it first; nothing is deleted unless they accept. gog_classroom_courses_archive is the reversible alternative. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show the preview…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
gog_classroom_courses_archive
Archive a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_courses_unarchive
Unarchive a Google Classroom course (restore to ACTIVE).
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_students_add
Add a student to a Google Classroom course. Adding someone else gives them the class stream and materials, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class and the student first; enrolling yourself ("me") does not ask. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show the preview to the user verbatim a…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Student user ID or email (or "me") |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
enrollmentCode | string | Enrollment code (required if adding self via code) |
gog_classroom_students_remove
Remove a student from a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Student user ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_teachers_add
Add a teacher to a Google Classroom course. A co-teacher sees every student's work and grades, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class and the teacher first; nothing changes unless they accept. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show the preview to the user verbatim and only after th…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Teacher user ID or email |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
gog_classroom_teachers_remove
Remove a teacher from a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
userId * | string | Teacher user ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_coursework_create
Create a new coursework item (assignment, question, etc.) in a course. Unless state is DRAFT with no scheduled time (which students cannot see; a scheduled draft publishes itself), the class is notified, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class, the title, the text, the due date and when it publishes; nothing is posted unless they accept. To stage one without asking, pass state DRAFT and no scheduled time. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmT…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
title * | string | Coursework title |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
description | string | Description |
due | string | Due datetime (combined date+time) |
dueDate | string | Due date (YYYY-MM-DD) |
dueTime | string | Due time (HH:MM) |
maxPoints | number | Max points |
scheduled | string | Scheduled publish time |
state | string | State |
topic | string | Topic ID |
type | string | Work type (default: ASSIGNMENT) |
gog_classroom_coursework_update
Update an existing coursework item. Publishing it (state PUBLISHED, or a scheduled time) reads the course and the item and asks the MCP host to show the user a confirmation prompt with the class and what students will see; nothing is published unless they accept. Other edits, and a return to DRAFT, need no confirmation. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
description | string | Description |
due | string | Due datetime (combined date+time) |
dueDate | string | Due date (YYYY-MM-DD) |
dueTime | string | Due time (HH:MM) |
maxPoints | number | Max points |
scheduled | string | Scheduled publish time |
state | string | State |
title | string | New title |
topic | string | Topic ID |
type | string | Work type (default: ASSIGNMENT) |
gog_classroom_coursework_delete
Delete a coursework item — every student submission to it goes too, for good. Reads the course and the coursework and asks the MCP host to show the user a confirmation prompt naming both first; nothing is deleted unless they accept. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show the preview to the user verbatim and only after they explicitly approv…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
courseworkId * | string | Coursework ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
gog_classroom_announcements_update
Update an existing announcement. Publishing it (state PUBLISHED, or a scheduled time) reads the course and the item and asks the MCP host to show the user a confirmation prompt with the class and what students will see; nothing is published unless they accept. Other edits, and a return to DRAFT, need no confirmation. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by…
| Parameter | Type | Description |
|---|---|---|
announcementId * | string | Announcement ID |
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
scheduled | string | Scheduled publish time (asks the user to confirm) |
state | string | State (PUBLISHED asks the user to confirm; DRAFT does not) |
text | string | New text |
gog_classroom_announcements_delete
Delete an announcement.
| Parameter | Type | Description |
|---|---|---|
announcementId * | string | Announcement ID |
courseId * | string | Course ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_topics_create
Create a topic in a Google Classroom course.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
name * | string | Topic name |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_topics_update
Rename an existing topic.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
name * | string | New topic name |
topicId * | string | Topic ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_topics_delete
Delete a topic.
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
topicId * | string | Topic ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
gog_classroom_invitations_create
Create an invitation to a Google Classroom course — Classroom emails the invitee. Reads the course and asks the MCP host to show the user a confirmation prompt with the class, the invitee and the role; nothing is sent unless they accept. If the client cannot show that prompt (no MCP elicitation, e.g. claude.ai), a two-step flow applies instead: call WITHOUT confirmToken and nothing is sent or changed — the result has status "confirmation-required", the full preview and a confirmToken. Follow its instruction (by default: show the preview to the user verbatim and only after they explicitly a…
| Parameter | Type | Description |
|---|---|---|
courseId * | string | Course ID |
role * | string | Role for the invited user |
userId * | string | User ID to invite |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |
confirmToken | string | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has see… |
gog_classroom_invitations_delete
Delete (revoke) a Google Classroom invitation.
| Parameter | Type | Description |
|---|---|---|
invitationId * | string | Invitation ID |
account | string | Google account email to use, e.g. you@gmail.com — must be the full address, not a bare username. Overrides the GOG_ACCOUNT env var. Omit to use the single configured account. |