Skip to main content
Glama

Get Duolingo Currency Balances

duolingo_get_currencies
Read-onlyIdempotent

Retrieves the authenticated user's gem and lingot balances so agents can check Duolingo currency totals for that account.

Instructions

Get the authenticated user's gem and lingot balances. 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_currencies"
  }
}

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds one genuinely useful behavioral fact beyond them: the auth requirement / single-user scope. It says nothing about what happens with an expired session or what the balance payload contains, so the addition is modest.

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 short sentences, zero filler, with the resource scope stated first and the auth restriction second. Nothing is redundant or padded.

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 simple, single-optional-param read tool with full annotation coverage, the description covers what is returned (gem and lingot balances) and who it applies to. With no output schema, it could go slightly further in describing the shape of the returned balances, but nothing needed to call the tool correctly is missing.

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 only one optional parameter (response_format) and schema description coverage is 100%, with the enum values and default already documented in the schema. The description adds no meaning beyond that, which is the expected baseline when 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?

The description names a concrete verb and resource: 'Get the authenticated user's gem and lingot balances.' That is unambiguous and clearly distinct from sibling resources such as shop items or user info. It stops short of explicitly contrasting with a related sibling (e.g., shop items, which would be the spending counterpart), so it is clear but not maximally differentiating.

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?

'Only works for the authenticated user' is a real scope constraint that tells the agent not to expect a user-id parameter or to fetch someone else's balances. However, it gives no when-to-use vs. when-not-to-use guidance relative to siblings like duolingo_get_shop_items or duolingo_get_user_info, leaving selection implied by the resource name alone.

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