Skip to main content
Glama

Get Class Assessments

get_class_assessments

Fetch published assessment component grades for a class using its class ID. Returns an empty snapshot when no assessments are declared yet.

Instructions

Gradebook snapshot for one class: the student's assessment component results and grades as published (empty when nothing is declared yet).

Input Schema

NameRequiredDescriptionDefault
class_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

With annotations absent the description carries the burden, and it does disclose one meaningful behavioral trait: published-state filtering and an empty payload when nothing is declared yet. It says nothing about permissions, whose student data is returned, or freshness of the snapshot.

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?

One sentence, front-loaded with the resource and scope, with the empty-result caveat tucked in a parenthetical. No 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?

Output schema exists, so return-value detail is out of scope, and the tool is otherwise simple (one required integer). The remaining gap is minor: how to obtain a class_id and whether the "student" is always the caller.

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 0% and the single parameter (class_id) is bare, so the description must compensate. It adds that the id scopes the result to one class's gradebook, but it never says where a valid class_id comes from (e.g., get_courses) or whether a student argument is implied.

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?

Names a specific resource and shape — a gradebook snapshot for one class containing assessment component results and published grades. It is distinguishable from get_assignments/get_results only by inference ("assessment component results", "as published"); no sibling is named explicitly.

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 get_results or get_assignments, both of which plausibly return overlapping grade data. Usage is only implied by the word "snapshot"; no prerequisites or exclusions are given.

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