Skip to main content
Glama

My grades

get_my_grades
Read-only

Retrieve grades and teacher comments for returned work in your Google Classroom classes, with graded-work totals and weighted category percentages; filter by course IDs or names.

Instructions

Grades on returned work for each class, with the comment the teacher left on the work. Google Classroom has no overall grade, so this adds up graded work only, and adds a weighted percent when the class uses grading categories with weights. Pass course_ids to limit it, or leave empty for all active classes. Use this when the user asks 'How am I doing in my classes?' or 'What grades have I gotten back?'

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_my_grades"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoHow many classes to skip. Up to 15 classes are read at a time, so pass 15 to see the next 15. Leave empty to start at the first class.
course_idsNoClassroom course IDs to check. Leave empty for all active classes.
course_nameNoPart of a class name or section, for example Biology. It is matched without checking case and added to course_ids, so you can skip get_my_courses. Leave empty to use course_ids only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • addedInput schema / properties / course_name
      Added value: +{
      +  "description": "Part of a class name or section, for example Biology. It is matched without checking case and added to course_ids, so you can skip get_my_courses. Leave empty to use course_ids only.",
      +  "type": "string"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "How many classes to skip. Up to 15 classes are read at a time, so pass 15 to see the next 15. Leave empty to start at the first class.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observedv0.1.5

TDQS

A4/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the readOnlyHint annotation: it explains that only returned work is counted, that Google Classroom has no overall grade, and that weighted percentages are calculated when grading categories exist. It does not cover authentication, rate limits, or return formatting details, but it discloses the key aggregation behavior.

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 front-loaded with the tool's purpose and calculation behavior, then moves to parameter guidance and example usage. Every sentence contributes relevant information without unnecessary repetition.

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?

Given the absence of an output schema, the description does a good job explaining that results include per-class grades, teacher comments, and weighted percentages. Completeness is slightly limited because it does not describe edge cases such as classes with no returned work or the exact response shape.

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 all three parameters are already documented in the schema. The description reinforces course_ids behavior but does not add new meaning for course_name or offset beyond what the schema already provides.

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 clearly states the resource and scope: grades on returned work per class, including teacher comments and weighted percentages. It is specific enough to distinguish the tool from general assignment or course tools, but it does not explicitly name or contrast with close siblings like get_target_grade or get_missing_assignments.

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?

It gives clear usage context with example user questions ('How am I doing in my classes?') and explains how course_ids can limit results. However, it does not state when not to use this tool or name alternative tools for related grade questions.

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