Skip to main content
Glama

Fiveable for AP Teachers

Create assignment draft

create_assignment_draft

Builds an assignment draft from multiple-choice questions picked by question-bank mcq: id and/or drawn from units and topics (skipping already assigned questions), Fiveable FRQ or SAQ ids, readings with optional checks, or a diagnostic. Settings start from the first class's defaults. AP Calculus drafts require courseVariant or target classes sharing one course. Returns the draft id and review link. Drafts never use an included assignment slot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dueAtNoDefault due time for every class.
titleYes
classesNoClasses to target, each with an optional due date.
sectionsYes
settingsNo
requestIdYesA unique id you generate for this action. Reuse it only when retrying the same action.
availableAtNoWhen it opens, ISO with offset.
subjectSlugYesSubject, e.g. apush or ap-bio.
instructionsNo
courseVariantNoAP Calculus only: ap-calc-ab or ap-calc-bc. Omit to use the course the target classes share.
resultReleaseNoWhen students see results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoReadable tool result text for clients that consume structured output.
statusYesOperation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sections / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "avoidRepeats": {
      -        "default": true,
      -        "description": "When drawing from units, skip questions this teacher already published.",
      -        "type": "boolean"
      -      },
      -      "questionCount": {
      -        "description": "Questions to draw from units, on top of any questionIds. Omit when only using questionIds.",
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "questionIds": {
      -        "description": "Specific questions to include, as mcq: ids from search_question_bank. They come first, exactly as picked; questions drawn from units never repeat them. Omit units to use only these.",
      -        "items": {
      -          "pattern": "^(mcq:)?[\\w-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 100,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "skillId": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Optional CED skill id to narrow to."
      -      },
      -      "style": {
      -        "default": "exam",
      -        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      -        "enum": [
      -          "exam",
      -          "comprehension",
      -          "vocabulary"
      -        ],
      -        "type": "string"
      -      },
      -      "timeLimitMinutes": {
      -        "anyOf": [
      -          {
      -            "maximum": 300,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Omit for untimed."
      -      },
      -      "type": {
      -        "const": "multiple_choice",
      -        "type": "string"
      -      },
      -      "units": {
      -        "description": "Units to draw questions from. Omit when only using questionIds.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "questionCount": {
      -              "description": "Omit to split the total evenly.",
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "topicIds": {
      -              "description": "Topic ids to narrow to.",
      -              "items": {
      -                "maxLength": 200,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 60,
      -              "type": "array"
      -            },
      -            "unitId": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 200,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Unit id from get_subject_outline; null = whole course."
      -            }
      -          },
      -          "required": [
      -            "unitId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "style",
      -      "avoidRepeats"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "parts": {
      -        "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
      -        "items": {
      -          "pattern": "^[A-Za-z]$",
      -          "type": "string"
      -        },
      -        "maxItems": 12,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "questionId": {
      -        "description": "An frq: or saq: id from search_question_bank.",
      -        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "free_response",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "questionId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "readingQuestions": {
      -        "default": false,
      -        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      -        "type": "boolean"
      -      },
      -      "resourceId": {
      -        "description": "A resource id from list_teaching_resources.",
      -        "maxLength": 300,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "reading",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "resourceId",
      -      "readingQuestions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "diagnostic",
      -        "type": "string"
      -      },
      -      "unitIds": {
      -        "description": "Unit ids from get_subject_outline.",
      -        "items": {
      -          "maxLength": 200,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "unitLabels": {
      -        "items": {
      -          "maxLength": 200,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "unitIds"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "avoidRepeats": {
      +        "default": true,
      +        "description": "When drawing from units, skip questions this teacher already published.",
      +        "type": "boolean"
      +      },
      +      "questionCount": {
      +        "description": "Questions to draw from units, on top of any questionIds. Omit when only using questionIds.",
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "questionIds": {
      +        "description": "Specific questions to include, as mcq: ids from search_question_bank. They come first, exactly as picked; questions drawn from units never repeat them. Omit units to use only these.",
      +        "items": {
      +          "pattern": "^(mcq:)?[\\w-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 100,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "skillId": {
      +        "anyOf": [
      +          {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Optional CED skill id to narrow to."
      +      },
      +      "style": {
      +        "default": "exam",
      +        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      +        "enum": [
      +          "exam",
      +          "comprehension",
      +          "vocabulary"
      +        ],
      +        "type": "string"
      +      },
      +      "timeLimitMinutes": {
      +        "anyOf": [
      +          {
      +            "maximum": 300,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Omit for untimed."
      +      },
      +      "type": {
      +        "const": "multiple_choice",
      +        "type": "string"
      +      },
      +      "units": {
      +        "description": "Units to draw questions from. Omit when only using questionIds.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "questionCount": {
      +              "description": "Omit to split the total evenly.",
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topicIds": {
      +              "description": "Topic ids to narrow to.",
      +              "items": {
      +                "maxLength": 200,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 60,
      +              "type": "array"
      +            },
      +            "unitId": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 200,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Unit id from get_subject_outline; null = whole course."
      +            }
      +          },
      +          "required": [
      +            "unitId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "style",
      +      "avoidRepeats"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "focus": {
      +        "const": "introduction",
      +        "description": "AP World, APUSH or AP Euro DBQ or LEQ only: students write just the introduction (contextualization and a thesis), scored on the AP rubric's Thesis/Claim and Contextualization points (2 points). Omit for the whole essay. Can't be combined with parts.",
      +        "type": "string"
      +      },
      +      "parts": {
      +        "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
      +        "items": {
      +          "pattern": "^[A-Za-z]$",
      +          "type": "string"
      +        },
      +        "maxItems": 12,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "questionId": {
      +        "description": "An frq: or saq: id from search_question_bank.",
      +        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "free_response",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "questionId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "readingQuestions": {
      +        "default": false,
      +        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      +        "type": "boolean"
      +      },
      +      "resourceId": {
      +        "description": "A resource id from list_teaching_resources.",
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "reading",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "resourceId",
      +      "readingQuestions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "diagnostic",
      +        "type": "string"
      +      },
      +      "unitIds": {
      +        "description": "Unit ids from get_subject_outline.",
      +        "items": {
      +          "maxLength": 200,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "unitLabels": {
      +        "items": {
      +          "maxLength": 200,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "unitIds"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / sections / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "avoidRepeats": {
      -        "default": true,
      -        "description": "Skip questions this teacher already published.",
      -        "type": "boolean"
      -      },
      -      "questionCount": {
      -        "description": "Total questions in this section.",
      -        "maximum": 100,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "skillId": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Optional CED skill id to narrow to."
      -      },
      -      "style": {
      -        "default": "exam",
      -        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      -        "enum": [
      -          "exam",
      -          "comprehension",
      -          "vocabulary"
      -        ],
      -        "type": "string"
      -      },
      -      "timeLimitMinutes": {
      -        "anyOf": [
      -          {
      -            "maximum": 300,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Omit for untimed."
      -      },
      -      "type": {
      -        "const": "multiple_choice",
      -        "type": "string"
      -      },
      -      "units": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "questionCount": {
      -              "description": "Omit to split the total evenly.",
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "topicIds": {
      -              "description": "Topic ids to narrow to.",
      -              "items": {
      -                "maxLength": 200,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 60,
      -              "type": "array"
      -            },
      -            "unitId": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 200,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Unit id from get_subject_outline; null = whole course."
      -            }
      -          },
      -          "required": [
      -            "unitId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "questionCount",
      -      "style",
      -      "units",
      -      "avoidRepeats"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "parts": {
      -        "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
      -        "items": {
      -          "pattern": "^[A-Za-z]$",
      -          "type": "string"
      -        },
      -        "maxItems": 12,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "questionId": {
      -        "description": "An frq: or saq: id from search_question_bank.",
      -        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "free_response",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "questionId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "readingQuestions": {
      -        "default": false,
      -        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      -        "type": "boolean"
      -      },
      -      "resourceId": {
      -        "description": "A resource id from list_teaching_resources.",
      -        "maxLength": 300,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "reading",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "resourceId",
      -      "readingQuestions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "diagnostic",
      -        "type": "string"
      -      },
      -      "unitIds": {
      -        "description": "Unit ids from get_subject_outline.",
      -        "items": {
      -          "maxLength": 200,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "unitLabels": {
      -        "items": {
      -          "maxLength": 200,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "unitIds"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "avoidRepeats": {
      +        "default": true,
      +        "description": "When drawing from units, skip questions this teacher already published.",
      +        "type": "boolean"
      +      },
      +      "questionCount": {
      +        "description": "Questions to draw from units, on top of any questionIds. Omit when only using questionIds.",
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "questionIds": {
      +        "description": "Specific questions to include, as mcq: ids from search_question_bank. They come first, exactly as picked; questions drawn from units never repeat them. Omit units to use only these.",
      +        "items": {
      +          "pattern": "^(mcq:)?[\\w-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 100,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "skillId": {
      +        "anyOf": [
      +          {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Optional CED skill id to narrow to."
      +      },
      +      "style": {
      +        "default": "exam",
      +        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      +        "enum": [
      +          "exam",
      +          "comprehension",
      +          "vocabulary"
      +        ],
      +        "type": "string"
      +      },
      +      "timeLimitMinutes": {
      +        "anyOf": [
      +          {
      +            "maximum": 300,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Omit for untimed."
      +      },
      +      "type": {
      +        "const": "multiple_choice",
      +        "type": "string"
      +      },
      +      "units": {
      +        "description": "Units to draw questions from. Omit when only using questionIds.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "questionCount": {
      +              "description": "Omit to split the total evenly.",
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topicIds": {
      +              "description": "Topic ids to narrow to.",
      +              "items": {
      +                "maxLength": 200,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 60,
      +              "type": "array"
      +            },
      +            "unitId": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 200,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Unit id from get_subject_outline; null = whole course."
      +            }
      +          },
      +          "required": [
      +            "unitId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "style",
      +      "avoidRepeats"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "parts": {
      +        "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
      +        "items": {
      +          "pattern": "^[A-Za-z]$",
      +          "type": "string"
      +        },
      +        "maxItems": 12,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "questionId": {
      +        "description": "An frq: or saq: id from search_question_bank.",
      +        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "free_response",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "questionId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "readingQuestions": {
      +        "default": false,
      +        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      +        "type": "boolean"
      +      },
      +      "resourceId": {
      +        "description": "A resource id from list_teaching_resources.",
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "reading",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "resourceId",
      +      "readingQuestions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "diagnostic",
      +        "type": "string"
      +      },
      +      "unitIds": {
      +        "description": "Unit ids from get_subject_outline.",
      +        "items": {
      +          "maxLength": 200,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "unitLabels": {
      +        "items": {
      +          "maxLength": 200,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "unitIds"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / sections / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "avoidRepeats": {
      -        "default": true,
      -        "description": "Skip questions this teacher already published.",
      -        "type": "boolean"
      -      },
      -      "questionCount": {
      -        "description": "Total questions in this section.",
      -        "maximum": 100,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "skillId": {
      -        "anyOf": [
      -          {
      -            "maxLength": 200,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Optional CED skill id to narrow to."
      -      },
      -      "style": {
      -        "default": "exam",
      -        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      -        "enum": [
      -          "exam",
      -          "comprehension",
      -          "vocabulary"
      -        ],
      -        "type": "string"
      -      },
      -      "timeLimitMinutes": {
      -        "anyOf": [
      -          {
      -            "maximum": 300,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Omit for untimed."
      -      },
      -      "type": {
      -        "const": "multiple_choice",
      -        "type": "string"
      -      },
      -      "units": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "questionCount": {
      -              "description": "Omit to split the total evenly.",
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "topicIds": {
      -              "description": "Topic ids to narrow to.",
      -              "items": {
      -                "maxLength": 200,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 60,
      -              "type": "array"
      -            },
      -            "unitId": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 200,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Unit id from get_subject_outline; null = whole course."
      -            }
      -          },
      -          "required": [
      -            "unitId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 20,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "questionCount",
      -      "style",
      -      "units",
      -      "avoidRepeats"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "questionId": {
      -        "description": "An frq: or saq: id from search_question_bank.",
      -        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "free_response",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "questionId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "readingQuestions": {
      -        "default": false,
      -        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      -        "type": "boolean"
      -      },
      -      "resourceId": {
      -        "description": "A resource id from list_teaching_resources.",
      -        "maxLength": 300,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "reading",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "resourceId",
      -      "readingQuestions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "diagnostic",
      -        "type": "string"
      -      },
      -      "unitIds": {
      -        "description": "Unit ids from get_subject_outline.",
      -        "items": {
      -          "maxLength": 200,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "unitLabels": {
      -        "items": {
      -          "maxLength": 200,
      -          "type": "string"
      -        },
      -        "maxItems": 15,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "unitIds"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "avoidRepeats": {
      +        "default": true,
      +        "description": "Skip questions this teacher already published.",
      +        "type": "boolean"
      +      },
      +      "questionCount": {
      +        "description": "Total questions in this section.",
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "skillId": {
      +        "anyOf": [
      +          {
      +            "maxLength": 200,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Optional CED skill id to narrow to."
      +      },
      +      "style": {
      +        "default": "exam",
      +        "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
      +        "enum": [
      +          "exam",
      +          "comprehension",
      +          "vocabulary"
      +        ],
      +        "type": "string"
      +      },
      +      "timeLimitMinutes": {
      +        "anyOf": [
      +          {
      +            "maximum": 300,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Omit for untimed."
      +      },
      +      "type": {
      +        "const": "multiple_choice",
      +        "type": "string"
      +      },
      +      "units": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "questionCount": {
      +              "description": "Omit to split the total evenly.",
      +              "maximum": 100,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "topicIds": {
      +              "description": "Topic ids to narrow to.",
      +              "items": {
      +                "maxLength": 200,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 60,
      +              "type": "array"
      +            },
      +            "unitId": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 200,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Unit id from get_subject_outline; null = whole course."
      +            }
      +          },
      +          "required": [
      +            "unitId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "questionCount",
      +      "style",
      +      "units",
      +      "avoidRepeats"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "parts": {
      +        "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
      +        "items": {
      +          "pattern": "^[A-Za-z]$",
      +          "type": "string"
      +        },
      +        "maxItems": 12,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "questionId": {
      +        "description": "An frq: or saq: id from search_question_bank.",
      +        "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "free_response",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "questionId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "readingQuestions": {
      +        "default": false,
      +        "description": "Add reading-check questions (study guides and AMSCO guided notes).",
      +        "type": "boolean"
      +      },
      +      "resourceId": {
      +        "description": "A resource id from list_teaching_resources.",
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "reading",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "resourceId",
      +      "readingQuestions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "diagnostic",
      +        "type": "string"
      +      },
      +      "unitIds": {
      +        "description": "Unit ids from get_subject_outline.",
      +        "items": {
      +          "maxLength": 200,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "unitLabels": {
      +        "items": {
      +          "maxLength": 200,
      +          "type": "string"
      +        },
      +        "maxItems": 15,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "unitIds"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=false, non-idempotent), so the bar is lower. The description adds real behavior beyond that: defaults inherited from the first class, the AP Calc courseVariant constraint, the returned draft id/review link, and the notable fact that a draft does not occupy an assignment slot.

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?

The purpose is front-loaded in the first sentence, and the following sentences pack conditional rules without filler. The line about returning the draft id and review link is partly redundant given an output schema exists, a minor waste in an otherwise dense passage.

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?

For an 11-parameter mutation with nested section variants, an output schema, and annotation coverage, the description supplies the constraints an agent most needs (content sources, inherited defaults, AP Calc rule, slot behavior). It remains silent on retry/requestId semantics and on how this interacts with the prepare/confirm publish workflow.

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 64%, and most of the description's parameter-level content (mcq/frq/saq ids, units and topics, readings, the courseVariant fallback rule) restates what the schema already documents. It adds little meaning for the remaining parameters (title, subjectSlug, classes, dueAt, instructions, requestId), so baseline 3 is appropriate.

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 ('Builds an assignment draft') and enumerates the content sources it can be composed from (mcq ids, units/topics, FRQ/SAQ ids, readings, diagnostic), which mirrors the section schema. It does not explicitly differentiate itself from close siblings such as update_assignment_draft or duplicate_assignment, so an agent must infer the distinction from the word 'draft'.

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 useful invocation context: settings default from the first class, AP Calculus requires courseVariant or classes sharing a course, and drafts never consume an included assignment slot. It stops short of naming alternatives (update/duplicate/prepare-publish) or stating when not to use this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.