Skip to main content
Glama

set_profile

Save or update the learner's language profile—native and target languages, level, goal, and weekly schedule—so coaching tools can build personalized plans and lessons.

Instructions

Save or update the learner profile. Call this once at the very start (after interviewing the learner), or when their level, goal or schedule changes. Required before the other tools, except export_data, import_data and get_progress, which work without a profile. A changed schedule (minutes per day, days per week) applies from next week's plan; this week's existing plan is kept.

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": {
      "nativeLanguage": "<nativeLanguage>",
      "targetLanguage": "<targetLanguage>",
      "level": "<level>",
      "goal": "<goal>",
      "minutesPerDay": "<minutesPerDay>",
      "daysPerWeek": "<daysPerWeek>"
    },
    "name": "set_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
levelYes
daysPerWeekYes
minutesPerDayYes
nativeLanguageYes
targetLanguageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses that this is a mutation that must precede other calls, and that a changed schedule only takes effect from next week's plan while this week's plan is preserved. That is genuinely useful non-obvious behavior. It does not say whether the profile is fully overwritten or merged field-by-field, or what a failed save looks like, leaving a modest gap.

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 sentences ordered purpose, then when-to-use, then behavioral caveat, with the essential call trigger front-loaded. No filler and no restatement of the tool name; the schedule-change caveat earns its length because it prevents a real user-facing mistake.

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 six-parameter, fully required mutation with no annotations and no output schema, the description covers the prerequisites and the one destructive-ish side effect well. It stops short of describing the outcome (does it return the stored profile? what validates?) and leaves two parameters unexplained, so it is strong but not complete.

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 0% across six required parameters, so the description has to compensate and it only partly does: "level, goal or schedule" plus the parenthetical "minutes per day, days per week" explains four of the six fields. nativeLanguage and targetLanguage are never mentioned, nor are the valid level enum values or the 5-180 / 1-7 ranges, so an agent must fall back to the raw schema for those.

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?

"Save or update the learner profile" gives a specific verb pair and a concrete resource, and the description immediately frames it as the prerequisite that gates the other tools. An agent can tell this apart from siblings like get_progress or save_lesson without opening any 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?

It states exactly when to call (once at the very start, after interviewing the learner) and when to re-call (level, goal or schedule changes). It also gives explicit exclusions by naming export_data, import_data and get_progress as tools that work without a profile, which removes any ambiguity about ordering.

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