Skip to main content
Glama

Fiveable for AP Teachers

Get class insights

get_class_insights
Read-onlyIdempotent

How a class (or all the teacher's classes) is doing on Fiveable assignments: accuracy and FRQ points with change over time, each assignment's turn-in rate and average, and each student's average with flags (missing work, dropping, improving), weakest first. Scope by class, subject, assignment or time window. Moderate cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYesLook back this many days. 0 means this school year.
classIdNoLimit to one class (id from list_classes).
subjectSlugNoLimit to one subject, e.g. apush or ap-bio.
assignmentIdNoLimit to one assignment (id from list_coursework).

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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context beyond the annotations: a 'Moderate cost' signal and the ordering convention ('weakest first'), which help an agent decide whether and how to call it.

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?

Two dense sentences with the returned content front-loaded, followed by the scoping and cost note. No redundant restatement of the name or obvious filler.

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?

An output schema exists, so return values need not be described; the description still covers content, scope, ordering, and cost. It is essentially complete, missing only explicit routing to sibling insight tools.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, and the description goes further by naming the four scoping dimensions (class, subject, assignment, time window) that map onto classId, subjectSlug, assignmentId, and days, reinforcing how each parameter narrows the query.

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?

The description names a specific resource (class insights) and enumerates exactly what is returned: accuracy and FRQ points over time, per-assignment turn-in rate and average, and per-student averages with flags. It is clearly class-scoped, implicitly distinguishing it from get_student_insights and get_skill_insights, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

It states the scoping dimensions ('Scope by class, subject, assignment or time window') and gives a cost signal ('Moderate cost'), which impliedly guides use. But it never states when to prefer this over get_student_insights, get_skill_insights, or get_reteach_gaps, leaving alternative selection to inference.

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.