Skip to main content
Glama

Get explanation

get_explanation
Read-only

Learning tool: Get a detailed explanation of a grammar rule or language concept. Returns JSON with: concept (the concept explained), explanation (full explanation in the learner's language), examples (array of 3 example sentences with target, pronunciation, source), tip (one practical learning tip).

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": {
      "concept": "<concept>",
      "target_lang": "<target_lang>",
      "ui_lang": "<ui_lang>",
      "level": "<level>"
    },
    "name": "get_explanation"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYeslearner level, e.g. A1, B2
conceptYesthe grammar rule or concept to explain
ui_langYesUI / explanation language
target_langYeslanguage being learned

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?

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered elsewhere. The description adds real behavioral context by spelling out the exact JSON payload: concept, explanation, three examples with target/pronunciation/source, and a tip. It omits cost, latency, or caching behaviour, which keeps it short of a 5.

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, both front-loaded: the purpose comes first, followed by the return shape. Every clause carries information, and the return-shape listing is justified because no output schema exists. Slightly dense field enumeration keeps it from a 5.

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 carries the burden of describing return values and does so thoroughly, including the count and structure of examples. For a simple four-parameter read tool the remaining gaps, how level changes the answer and whether results are cached, are minor.

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 100%, so all four parameters are already documented at the field level and a 3 is the baseline. The description does add one useful nuance by tying the explanation to "the learner's language", which clarifies how ui_lang versus target_lang shape the response, but it never mentions the required level parameter or what effect it has.

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 uses a specific verb and resource: "Get a detailed explanation of a grammar rule or language concept." That cleanly separates it from the script-oriented sibling get_script_explanation, although it never names that sibling or any other alternative explicitly.

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 opening "Learning tool" signals the general context in which to use it, and the concept-level framing implies it is for conceptual questions rather than quizzes or progress lookups. However, there is no explicit when-to-use or when-not-to-use rule, and no alternative tool is named for cases where a learner asks about script instead of grammar.

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