Skip to main content
Glama

canvas_get_user_grades

Retrieve all user grades from the Canvas LMS API using the MCP server, enabling efficient tracking and management of academic performance within the platform.

Instructions

Get all grades for the current user

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "required": [], "type": "object" }

Implementation Reference

  • Core implementation of the tool: fetches the current user's grades from Canvas API endpoint `/users/self/grades`.
    async getUserGrades(): Promise<any> { const response = await this.client.get('/users/self/grades'); return response.data; }
  • MCP server handler for the tool: calls the CanvasClient.getUserGrades() method and formats the response as MCP content.
    case "canvas_get_user_grades": { const grades = await this.client.getUserGrades(); return { content: [{ type: "text", text: JSON.stringify(grades, null, 2) }] }; }
  • src/index.ts:401-408 (registration)
    Tool registration in the TOOLS array, including name, description, and empty input schema (no parameters required).
    name: "canvas_get_user_grades", description: "Get all grades for the current user", inputSchema: { type: "object", properties: {}, required: [] } },

Other Tools

Related Tools

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/DMontgomery40/mcp-canvas-lms'

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