Skip to main content
Glama

Get Duolingo Topics

duolingo_get_topics
Read-onlyIdempotent

Lists a language's topic (skill) names alphabetically and filters them by learned, not learned, fully mastered, or reviewable status.

Instructions

Lists the names of the topics (skills) of one language, sorted alphabetically: names only. filter picks which: known (default) the learned ones, unknown the ones not learned yet, golden the learned ones that are fully mastered (strength 1.0, nothing to review), reviewable the learned ones whose strength is below 1.0, so practice would refresh them; golden and reviewable together make up known. For the skills with strength and progress use duolingo_get_learned_skills. Courses on the learning path report skills only for the authenticated user's active course: switch with duolingo_switch_course to read another.

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": {
      "language_abbr": "<language_abbr>"
    },
    "name": "duolingo_get_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoWhich topics to list: 'known' (learned), 'unknown' (not learned yet), 'golden' (learned and fully mastered) or 'reviewable' (learned, strength below 1.0).known
usernameNoDuolingo username to query. Defaults to the authenticated user. Use this to look up another user's public data.
language_abbrYesAbbreviation of a language the user learns, like 'fr' for French or 'es' for Spanish, as duolingo_get_languages lists them.
response_formatNoOutput format: 'markdown' or 'json'.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds genuine behavior beyond that: results are names only with no strength data, output is alphabetically sorted, and learning-path courses report skills only for the authenticated user's active course. It stops short of describing pagination or output shape, but the disclosure is strong for a simple read tool.

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

Conciseness4/5

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

Front-loaded with purpose and 'names only' constraint before the filter semantics, so an agent gets the key discriminator in the first clause. The middle section is a dense semicolon-chained sentence that is informative but slightly hard to parse; it is not padded, however.

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

Completeness5/5

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

There is no output schema, and the description compensates by stating the return is names only, alphabetically sorted. Combined with the filter semantics, the course scoping caveat, and 100% schema coverage for the four parameters, nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3. The description earns above baseline by explaining the relationship between filter values — golden means strength 1.0 with nothing to review, reviewable means strength below 1.0 so practice would refresh them, and the two together equal known — which is real added meaning an agent cannot derive from the enum alone.

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

Purpose5/5

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

Opens with a specific verb and resource — 'Lists the names of the topics (skills) of one language, sorted alphabetically: names only' — and immediately scopes it against the sibling that returns richer data ('For the skills with strength and progress use duolingo_get_learned_skills'). An agent can distinguish this from duolingo_get_learned_skills without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes between alternatives: use this for names only, use duolingo_get_learned_skills for strength/progress, and use duolingo_switch_course to read skills outside the authenticated user's active course. It also spells out exactly what each filter value selects, including the partition that golden and reviewable together make up known.

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