Skip to main content
Glama

Get Duolingo Friends

duolingo_get_friends
Read-onlyIdempotent

Retrieves the Duolingo users the authenticated account follows, including each friend's username, display name, and total XP, with Markdown or JSON output.

Instructions

Get the list of Duolingo users that a given user is following (their friends). Returns each friend's username, display name, and total XP. Only works for the authenticated user.

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_friends"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds value beyond them by summarizing the returned fields and stating the authentication constraint. It stops short of disclosing pagination, list-size limits, or whether private profiles are filtered out.

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?

Three short sentences, front-loaded with the core behavior, then the return shape, then the scope constraint. No filler or restated title.

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?

With no output schema, the description's field-level return summary is genuinely necessary and present. For a low-complexity, single-parameter read tool this is nearly complete; the only real omissions are pagination/limits and how the friend list behaves for accounts with none.

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?

There is a single optional parameter (response_format) whose enum is fully documented in the schema at 100% coverage, so the schema carries the semantics. The description says nothing about output format selection or when to prefer json over markdown. Baseline 3 is appropriate given the schema does the work.

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?

A specific verb and resource are stated: retrieves the list of users a user is following, plus the returned fields (username, display name, total XP). The resource is distinct enough from siblings like get_user_info or get_leaderboard. Minor muddiness from 'a given user' immediately followed by 'Only works for the authenticated user', which leaves the target ambiguity briefly unresolved.

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 supplies one real precondition - it only works for the authenticated user - which tells the agent the call is self-scoped. However, it offers no when-to-use versus alternatives (e.g., get_user_info for the profile itself, get_leaderboard for rankings), and no note on what happens if the account has no friends or the list is large.

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