Skip to main content
Glama

Get Duolingo Courses

duolingo_get_courses
Read-onlyIdempotent

Retrieves every Duolingo course a user is enrolled in, including Math, Chess, and Music, with subject, title, XP, and course ID.

Instructions

Get all courses a Duolingo user is enrolled in, including non-language subjects like Math, Chess, and Music. Returns each course's subject, title, XP earned, and course ID. Language courses also include the language code.

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": "duolingo_get_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameNoDuolingo username to query. Defaults to the authenticated user. Use this to look up another user's public data.
response_formatNoOutput format: 'markdown' or 'json'.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description adds real value by enumerating the returned fields — subject, title, XP, course ID, plus language code for language courses — which matters since no output schema exists. It does not mention rate limits, empty-enrollment behavior, or ordering.

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 tight sentences with zero filler: scope and inclusions first, return shape second. Every clause carries information an agent could act on.

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?

For a read-only, two-parameter listing tool with full schema coverage and no output schema, the definition covers purpose and return fields adequately. Minor omissions (ordering, what an empty list means for an invalid username) are unlikely to block correct invocation.

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% across both parameters, so the schema already documents the username default/other-user behavior and the markdown/json format enum. The description adds no parameter-level meaning beyond the schema, making the baseline 3 correct.

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?

Specific verb plus resource: 'Get all courses a Duolingo user is enrolled in', with an explicit scope note that non-language subjects (Math, Chess, Music) are included. 'Enrolled in' implicitly separates it from catalog-style siblings like duolingo_get_languages, but no sibling is named, so it stops short of a 5.

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?

The description never states when to pick this over alternatives such as duolingo_get_languages or duolingo_get_language_progress, nor any exclusions. Usage is only implied from the enrollment framing, and the 'look up another user' guidance lives in the schema, not the description.

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