Skip to main content
Glama

Get user profile

get_user_profile
Read-only

Profile snapshot: CEFR level, target/source languages, due card count, weak words, recent lookups. Pass lang to scope the snapshot to one learning language (for users learning several); omit it for the user's primary language.

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

Input Schema

NameRequiredDescriptionDefault
langNoOptional ISO or BCP-47 tag (en, en-us, pt-br). Scopes the whole profile - level, due count, weak words - to that learning language. Omit for the user's primary language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, read-only, closed-world operation, so the safety profile is covered. The description adds value beyond that by disclosing the actual payload of the read (level, languages, due count, weak words, recent lookups), which is important because there is no output schema, and by clarifying that lang scopes the entire snapshot rather than a subset.

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?

Two sentences, no filler, and the contents of the snapshot are front-loaded before the parameter guidance. The only inefficiency is that the second sentence mirrors the schema's lang description almost verbatim, so it re-spends words on already-structured information.

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 single-optional-parameter read tool with no output schema, the description carries the important burden of telling the agent what comes back, and it does so concretely. Minor gaps remain: behavior when the user has no profile data, and whether omitted lang has a default fallback beyond 'primary language.'

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 coverage is 100% and the single lang parameter is already documented with examples (en, en-us, pt-br), so the baseline is 3. The description's phrasing adds a small amount of meaning — it notes the scoping use case is users learning several languages — but largely restates the schema's own text.

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 the resource (the user's profile) and enumerates exactly what the snapshot contains: CEFR level, target/source languages, due card count, weak words, and recent lookups. That is far more specific than a tautology, but it never distinguishes itself from overlapping siblings such as get_active_vocab, get_known_words, or get_recent_activity, which return adjacent data.

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?

It gives a clear rule for the lang parameter (scope to one learning language vs. omit for the primary language), which is genuine usage guidance for the argument. However, it offers no when-to-use-vs-alternatives guidance: an agent cannot tell from this text whether to call get_user_profile or get_recent_activity/get_active_vocab for the same underlying data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.