Skip to main content
Glama

get_grades

Read-onlyIdempotent

Retrieves a user's grade report for a specified course by course ID, helping you check course performance and results.

Instructions

The user's grade report for a course.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "course_id": "<course_id>"
    },
    "name": "get_grades"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that: it does not say whose grades are returned (the authenticated user?), what happens for an unenrolled course, or whether results are paginated.

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

Conciseness3/5

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

It is one short sentence with no waste, but the single sentence is under-specified rather than tightly informative, and it is not front-loaded with an action verb. Length is appropriate for a simple read tool; content is thin.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema and full read-only annotations, the description need not explain return values or safety. However, ambiguity about whose grades are returned and how course_id is sourced leaves real gaps for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% for the single required parameter course_id, so the schema provides only a type and title. The description mentions 'a course' but never explains what course_id identifies or how to obtain a valid value, so it fails to compensate for the coverage gap.

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

Purpose3/5

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

The description is a noun phrase ('The user's grade report for a course') rather than a verb+resource statement, though combined with the name get_grades the intent (fetch grades for a given course) is inferable. It does not distinguish this from sibling read tools like get_course beyond the word 'grade', leaving the agent to infer the resource.

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?

No when-to-use guidance, no mention of alternatives (e.g., vs get_course for course metadata or get_deadlines for upcoming work), and no prerequisites such as enrollment or authentication scope. The agent must guess the invocation context.

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