Skip to main content
Glama

classroom_patch_assignment

Update selected fields of an existing Google Classroom assignment by specifying an update mask, so you can change only the details you need.

Instructions

Update specific fields of an existing assignment using updateMask.

Input Schema

NameRequiredDescriptionDefault
idYesAssignment ID
stateNo
titleNo
dueDateNoYYYY-MM-DD in the local time zone of this computer
dueTimeNoHH:MM in local time; requires dueDate
topicIdNo
courseIdYes
maxPointsNo
updateMaskYesComma-separated supplied fields: title,description,maxPoints,topicId,dueDate,dueTime,scheduledTime,state
descriptionNo
scheduledTimeNoRFC 3339 timestamp, or null to cancel scheduled publication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0-beta.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, leaving destruction/reversibility and permission needs undisclosed. The mention of updateMask conveys partial-update semantics (only masked fields change), but the description omits the critical gotcha that supplied fields absent from the mask are silently ignored, and says nothing about auth or side effects.

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?

A single front-loaded sentence with zero filler. It is efficient, though the brevity tips into under-specification rather than disciplined concision.

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

Completeness2/5

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

This is an 11-parameter mutation tool with no output schema, sparse annotations, and 45% schema coverage; the description should carry far more. Nothing explains the updateMask/payload contract, required-field behavior, or what a successful response looks like, leaving the agent to infer the core usage pattern.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 45% across 11 parameters, so the description must compensate and it does not. It references updateMask but never explains its interaction with the payload fields or names any of the undocumented parameters (state, title, topicId, courseId, maxPoints, description).

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 ('Update specific fields of an existing assignment') and names the mechanism (updateMask), which distinguishes it from classroom_get_assignment, classroom_list_assignments, and classroom_create_assignment. It stops short of explicit sibling differentiation against the other patch_* tools in the family.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this versus a full replacement, versus classroom_create_assignment, or versus the topic/material patch siblings. The only implied guidance is the word 'specific fields,' which hints at partial update without stating prerequisites or when-not conditions.

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