Skip to main content
Glama

Bareun (바른) — Korean NLP & Spell Checking

형태소 분석

analyze_syntax
Read-only

한국어 문장의 형태소 분석을 수행합니다. 문장을 어절·형태소로 나누고 품사를 부착합니다. format=compact 면 '표층형/품사' 요약 문자열을, full 이면 전체 구조 JSON 을 돌려줍니다. with_sense=true 를 주면 동형이의어(같은 표기, 다른 뜻: 배[腹]/배[船]/배[梨])의 의미까지 구분해 어깨번호·뜻풀이를 함께 돌려줍니다(베타). EN: Performs morphological analysis of Korean text. Splits a sentence into words and morphemes and attaches part-of-speech tags. format=compact returns a short summary string of surface form/POS tag, and full returns the complete structure as JSON. with_sense=true also disambiguates homographs (same spelling, different meaning, such as 배 for belly, ship and pear) and returns the superscript number and definition (beta).

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": {
      "text": "<text>"
    },
    "name": "analyze_syntax"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes분석할 한국어 텍스트(필수) / EN: Korean text to analyze (required)
formatNo결과 형식. full(전체 구조, 기본) 또는 compact(표층형/품사 요약 문자열) / EN: Result format: full (complete structure, default) or compact (a summary string of surface form/POS tag)
encodingNo오프셋 계산 인코딩. utf8(바이트·Go/C++)/utf16(JS·Java)/utf32(코드포인트·Python) 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8 (bytes, Go/C++), utf16 (JS/Java) or utf32 (code points, Python). Default utf32
with_senseNotrue면 동형이의어 의미 구분(WSD, 베타) 결과를 형태소마다 함께 돌려준다. 어깨번호·뜻풀이·우리말샘 번호·선택 확률이 sense 에 실린다. 기본값 false / EN: If true, also return word sense disambiguation (WSD, beta) for each morpheme: superscript number, definition, Urimalsaem entry number and selection probability in sense. Default false
auto_spacingNotrue면 분석 전 자동 띄어쓰기를 적용한다. 기본값 false / EN: If true, apply automatic word spacing before analysis. Default false
auto_jointingNotrue면 자동 붙여쓰기를 적용한다. 기본값 false / EN: If true, apply automatic joining of words that should be written together. Default false
custom_dict_namesNo적용할 사용자 사전 이름 목록(선택) / EN: Names of user dictionaries to apply (optional)
auto_split_sentenceNotrue면 문장을 자동으로 분리한다. 기본값 false / EN: If true, split sentences automatically. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / auto_jointing / description
      Previous value: -"true면 자동 붙여쓰기를 적용한다. 기본값 false"New value: +"true면 자동 붙여쓰기를 적용한다. 기본값 false / EN: If true, apply automatic joining of words that should be written together. Default false"
    • changedInput schema / properties / auto_spacing / description
      Previous value: -"true면 분석 전 자동 띄어쓰기를 적용한다. 기본값 false"New value: +"true면 분석 전 자동 띄어쓰기를 적용한다. 기본값 false / EN: If true, apply automatic word spacing before analysis. Default false"
    • changedInput schema / properties / auto_split_sentence / description
      Previous value: -"true면 문장을 자동으로 분리한다. 기본값 false"New value: +"true면 문장을 자동으로 분리한다. 기본값 false / EN: If true, split sentences automatically. Default false"
    • changedInput schema / properties / custom_dict_names / description
      Previous value: -"적용할 사용자 사전 이름 목록(선택)"New value: +"적용할 사용자 사전 이름 목록(선택) / EN: Names of user dictionaries to apply (optional)"
    • changedInput schema / properties / encoding / description
      Previous value: -"오프셋 계산 인코딩. utf8(바이트·Go/C++)/utf16(JS·Java)/utf32(코드포인트·Python) 중 하나. 기본값 utf32"New value: +"오프셋 계산 인코딩. utf8(바이트·Go/C++)/utf16(JS·Java)/utf32(코드포인트·Python) 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8 (bytes, Go/C++), utf16 (JS/Java) or utf32 (code points, Python). Default utf32"
    • changedInput schema / properties / format / description
      Previous value: -"결과 형식. full(전체 구조, 기본) 또는 compact(표층형/품사 요약 문자열)"New value: +"결과 형식. full(전체 구조, 기본) 또는 compact(표층형/품사 요약 문자열) / EN: Result format: full (complete structure, default) or compact (a summary string of surface form/POS tag)"
    • changedInput schema / properties / text / description
      Previous value: -"분석할 한국어 텍스트(필수)"New value: +"분석할 한국어 텍스트(필수) / EN: Korean text to analyze (required)"
    • changedInput schema / properties / with_sense / description
      Previous value: -"true면 동형이의어 의미 구분(WSD, 베타) 결과를 형태소마다 함께 돌려준다. 어깨번호·뜻풀이·우리말샘 번호·선택 확률이 sense 에 실린다. 기본값 false"New value: +"true면 동형이의어 의미 구분(WSD, 베타) 결과를 형태소마다 함께 돌려준다. 어깨번호·뜻풀이·우리말샘 번호·선택 확률이 sense 에 실린다. 기본값 false / EN: If true, also return word sense disambiguation (WSD, beta) for each morpheme: superscript number, definition, Urimalsaem entry number and selection probability in sense. Default false"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context on top: the two distinct return shapes for format, the extra sense payload fields when with_sense is set, and an explicit beta caveat for WSD. It does not cover limits such as input length or rate limiting.

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?

Purpose is front-loaded in the first sentence, then return formats, then the beta WSD option — a sensible order with no filler. The full English text duplicates the Korean verbatim, which roughly doubles length without adding information, though it does serve non-Korean readers.

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 an 8-parameter tool with no output schema, the description carries the needed load by explaining both return shapes and the sense sub-fields. Dictionaries, spacing/joining, sentence splitting and encoding are documented only in the schema, which is adequate at 100% coverage, so nothing critical is missing for correct invocation.

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 would be 3, but the description goes further by explaining what format actually produces in each mode and by illustrating with_sense with a concrete homograph example (배 for belly/ship/pear) and naming the returned sense fields. The remaining parameters (encoding, auto_spacing, custom_dict_names) are left entirely to the schema.

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 first sentence names a specific verb and resource (Korean morphological analysis), then specifies the operation precisely: split into words/morphemes and attach POS tags. It does not, however, contrast itself with siblings such as analyze_syntax_raw or tokenize, which sound closely related.

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?

Usage is implied by the description (analyze Korean text; use format=compact for a short string, full for structured JSON), which is option-selection guidance rather than tool-selection guidance. There is no statement of when to prefer this over analyze_syntax_raw or tokenize, and no exclusions or prerequisites.

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