Skip to main content
Glama

Get Duolingo Language Details

duolingo_get_language_details
Read-onlyIdempotent

Retrieve a user's Duolingo level, points, streak, and learning status for a specific language. Use it to check progress or compare public profiles.

Instructions

Get a user's status and details for a specific language. Returns level, points, streak, and learning status for the given language.

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_name": "<language_name>"
    },
    "name": "duolingo_get_language_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameNoDuolingo username to query. Defaults to the authenticated user. Use this to look up another user's public data.
language_nameYesFull name of the language (e.g. 'French', 'Spanish').
response_formatNoOutput format: 'markdown' or 'json'.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description usefully adds the shape of the returned data (level, points, streak, learning status) in the absence of an output schema, but says nothing about auth requirements, error behavior, or what happens when a full language name is not used instead of an abbreviation.

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 sentences, zero waste, with the core purpose front-loaded before the return values. Every clause carries information an agent can act on.

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 simple three-parameter read tool with full schema coverage and a complete safety annotation set, this is close to sufficient, and listing return fields compensates for the missing output schema. It still leaves the overlap with duolingo_get_language_progress unresolved, which is the main thing an agent needs to disambiguate.

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%, with all three parameters documented including the username default and the enum for response_format, so the baseline of 3 applies. The description adds no parameter-level meaning beyond the schema, notably omitting the full-name-vs-abbreviation distinction that sibling tools make relevant.

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 names a specific verb and resource ('Get a user's status and details for a specific language') and enumerates the returned fields (level, points, streak, learning status). It does not, however, distinguish itself from the close sibling duolingo_get_language_progress, leaving the agent to guess which of the two to pick.

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?

There is no explicit when-to-use statement, no when-not-to-use, and no named alternative, despite several sibling tools covering adjacent language data. The phrase 'for a specific language' only implies that a language must be supplied, which the schema already enforces.

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