Skip to main content
Glama

assign_homework

Assign homework to a student. Preview the assignment first, then confirm to save it.

Instructions

Assign a homework item to a student. By default this only PREVIEWS the assignment and does not save it — call again with confirm: true to actually create it. Use list_students first if you don't know the student_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoSet true to actually create the assignment. Defaults to false (preview only).
due_dateNoDue date, e.g. 2026-09-12 (YYYY-MM-DD). Omit if there's no fixed due date.
student_idYesThe student's id, from list_students
descriptionYesWhat the homework is

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the critical default side-effect (preview only, no save) and the practical workflow of 'call again with confirm: true', deliberately preventing accidental writes. It omits details like reversibility, permissions, or preview output content, but the core safety behavior is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three concise sentences, with the purpose front-loaded and no filler. Each sentence earns its place: purpose, behavioral/workflow warning, and prerequisite.

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 a tool with no annotations and no output schema, the description covers the essential context: action, default side-effect (preview), confirmation requirement, and prerequisite. The only major gap is the content or format of the preview response, which is not specified, but for a straightforward create-with-preview tool the coverage is nearly complete.

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 description coverage is 100%, so the baseline is 3. The tool description restates the confirm workflow and the list_students dependency, both of which are already present in the schema's parameter descriptions, so it adds little meaning beyond what the structured schema already conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence uses a specific verb ('assign'), concrete resources ('homework item', 'student'), and is clearly distinct from list_students, get_student_progress, log_session_note, and generate_progress_report. It names the exact operation and target, leaving no ambiguity.

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?

The description provides an explicit precondition: 'Use list_students first if you don't know the student_id.' It also communicates the intended two-step preview-and-confirm flow. It lacks explicit exclusion language for sibling tools, but the purpose differentiation makes those exclusions unnecessary.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nishitadoval/tutorflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server