Teachers
Add students to a challenge group
add_project_group_members
- Writes
- Needs confirmation
Adds up to twenty of this teacher’s students to one of their challenge groups that is not confirmed yet, all or none: each must be eligible for the group’s grade group and in no other group of the challenge, and the group may not grow past its size. The students are handles from list_group_project_students. On a paid challenge the fee must be paid first. The first call answers a summary and a confirmation value; nobody is added until the same call is repeated with it.
- For
- Teachers
- Needs
- Read and write access (
mcp:write) - What it changes
- Writes. The first call only shows what would change and returns a confirmation handle. Nothing changes until the agent calls again with that handle, after you agree.
- Repeating it
- Not safe: the same call twice can change data twice.
Inputs
brandstringWhich olympiad this is about. Required unless the connection covers exactly one, in which case that one is used.
one of
codinggmathhilinguaneostemgroup_idstringrequiredThe group_id from list_my_project_groups.
pattern
^[a-f0-9]{24}$min length24max length24studentsarray of stringrequiredThe opaque student handles from list_group_project_students, each once.
min items
1max items20confirmationstringThe
confirmationvalue from this tool’s ownconfirmation_requiredanswer. Send it back with exactly the same other arguments to go ahead; never invent one.pattern
^cfm_[A-Za-z0-9._-]{1,4000}$min length5max length4096
The server refuses a call that carries any field not listed here, and says which one.
Answers instead of a result
What the tool says when it cannot do what was asked, and what to do about it.
not_connectedinsufficient_scoperate_limitedwrites_disabledtemporarily_unavailableupstream_errorbrand_not_allowedrole_requiredtenant_account_missingnot_foundconfirmation_requiredconfirmation_expiredwindow_closedgroup_lockedalready_in_groupnot_eligible_gradegroup_size_invalidpayment_required