Skip to main content
Glama

Create language profile

create_language_profile
Idempotent

Add a target←native language pair the user wants to learn (e.g. target 'en-US', native 'ru'). Target and native must differ. One profile per target: if the user already learns the target, the existing profile is returned with its current native.

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": {
      "target": "<target>",
      "native": "<native>"
    },
    "name": "create_language_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nativeYesNative-language code for translations, e.g. "ru"
targetYesTarget-language code being learned, e.g. "en-US"

Output Schema

NameRequiredDescriptionDefault
nativeYes
statusYesalready_exists: the user already learns this target; native is its current translation language.
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare mutation and idempotency, and the description adds concrete behavior: target and native must differ, and an existing profile for the same target is returned rather than duplicated. This is useful operational context beyond the annotations, with no contradiction.

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?

The description is three tight sentences, front-loaded with purpose and followed by constraints and idempotent behavior. Every sentence adds useful information without repetition or noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple two-parameter schema, full schema coverage, and an output schema, the description covers the essential purpose, validation constraint, and idempotent return behavior. Nothing critical is missing for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a meaningful cross-parameter rule: target and native must differ. It also clarifies that the native language is tied to a target profile for idempotent behavior.

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 states a specific action and resource: adding a target/native language profile pair the user wants to learn. It is clear what the tool does, but it does not explicitly distinguish itself from sibling profile-listing or collection-creation tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context: create a language profile for a target/native pair, with the constraint that target and native must differ. It also describes what happens when a profile already exists, though it does not explicitly name alternatives such as list_language_profiles.

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.

Resources