Skip to main content
Glama

Bareun (바른) — Korean NLP & Spell Checking

어절 분리

tokenize
Read-only

한국어 문장을 어절(토큰) 단위로 분리합니다. 품사 정보 없이 어절 경계만 필요할 때 쓰고, 형태소·품사가 필요하면 analyze_syntax 를 쓰세요. auto_spacing=true 를 주면 띄어쓰기가 어긋난 문장도 바로잡아 나눕니다. EN: Splits Korean text into words (tokens). Use it when you only need word boundaries without part-of-speech information, and use analyze_syntax when you need morphemes and POS tags. With auto_spacing=true it also fixes text whose spacing is wrong before splitting.

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

Input Schema

NameRequiredDescriptionDefault
textYes토큰화할 한국어 텍스트(필수) / EN: Korean text to tokenize (required)
encodingNo오프셋 계산 인코딩. utf8/utf16/utf32 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8, utf16 or utf32. Default utf32
auto_spacingNotrue면 자동 띄어쓰기를 적용한다. 기본값 false / EN: If true, apply automatic word spacing. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / auto_spacing / description
      Previous value: -"true면 자동 띄어쓰기를 적용한다. 기본값 false"New value: +"true면 자동 띄어쓰기를 적용한다. 기본값 false / EN: If true, apply automatic word spacing. Default false"
    • changedInput schema / properties / encoding / description
      Previous value: -"오프셋 계산 인코딩. utf8/utf16/utf32 중 하나. 기본값 utf32"New value: +"오프셋 계산 인코딩. utf8/utf16/utf32 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8, utf16 or utf32. Default utf32"
    • changedInput schema / properties / text / description
      Previous value: -"토큰화할 한국어 텍스트(필수)"New value: +"토큰화할 한국어 텍스트(필수) / EN: Korean text to tokenize (required)"
  2. First observed

TDQS

A4.3/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 safety is covered. The description adds meaningful behavior beyond that: auto_spacing=true fixes incorrectly spaced text before splitting. It does not describe the returned token or offset structure, which remains a gap.

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?

The description is front-loaded and structured, first stating what the tool does and then routing to the alternative. The Korean and English text duplicate the same content, which adds length, but the content itself is clear and not padded with vague wording.

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 simple read-only tokenizer with fully documented parameters and clear annotations, the description is sufficient to invoke the tool correctly. The main gap is that there is no output schema and the description does not explain the token/offset return structure implied by the encoding parameter.

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 three parameters are already documented in the schema. The description adds some behavioral meaning for auto_spacing, but it does not explain the encoding parameter or what offsets are returned, so it adds little beyond the schema.

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?

The description states a specific operation: splitting Korean sentences into eojeol/token units without part-of-speech information. It explicitly distinguishes this from analyze_syntax, which is for morphemes and POS tags, so an agent can select the right tool without opening either 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 gives clear when-to-use guidance: use this when only word boundaries are needed, and use analyze_syntax when morphemes or POS tags are needed. It also states the auto_spacing=true condition for correcting spacing before splitting.

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