Skip to main content
Glama

Bareun (바른) — Korean NLP & Spell Checking

맞춤법·띄어쓰기 교정

correct_grammar
Read-only

한국어 문장의 맞춤법·띄어쓰기를 교정합니다. 교정된 문장과 교정 블록(원문/교정문) 목록을 돌려줍니다. 원문을 다시 쓰지 않고 어긋난 자리만 고치므로 글의 문체·말투가 그대로 남습니다. 고친 자리마다 근거가 되는 한글맞춤법 조항(예: 제1장 총칙 제2항)과 설명·예시가 함께 실려 오므로, 교열 근거를 대야 하는 일에 적합합니다. 띄어쓰기가 전혀 없는 음성 인식 결과·자동 자막 원고도 복원하고 문장 경계를 찾아 문장 부호를 넣습니다. EN: Corrects spelling and word spacing in Korean text. Returns the corrected sentence and a list of correction blocks (original/corrected). It fixes only the places that are wrong instead of rewriting the text, so the style and tone are kept. Each correction comes with the relevant article of the Korean orthography rules (for example Chapter 1 General Provisions, Article 2) plus an explanation and examples, which suits work that needs a reason for each edit. It also restores spacing in text with no spaces at all, such as speech recognition output or auto-generated captions, finds sentence boundaries and adds punctuation. Only Korean text is corrected.

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

Input Schema

NameRequiredDescriptionDefault
textYes맞춤법/띄어쓰기를 교정할 한국어 텍스트(필수) / EN: Korean text to correct for spelling and spacing (required)
encodingNo오프셋 계산 인코딩. utf8/utf16/utf32 중 하나. 기본값 utf32 / EN: Encoding used to compute offsets: utf8, utf16 or utf32. Default utf32
treat_as_titleNo입력 문장을 기사 등의 제목으로 취급. 기본 false / EN: Treat the input as a headline, such as a news article title. Default false
custom_dict_namesNo적용할 사용자 사전 이름 목록(선택) / EN: Names of user dictionaries to apply (optional)
disable_confusionNo혼동모델 비활성화. 기본 false / EN: Disable the confusable-word model. Default false
disable_bias_checkNo혐오·차별 표현(낮잡는 말·차별 어휘) 확인 블록 비활성화. 기본 false(= 켬) / EN: Disable confirmation blocks for hateful or discriminatory expressions. Default false (the check is on)
disable_vx_spacingNo보조 용언 띄어쓰기 비활성화. 기본 false / EN: Disable spacing correction for auxiliary verbs and adjectives. Default false
enable_contested_fixNo논란 여지가 있는 고침 활성화(되세요·에 있어서·복수 -들 남용 등 지침 기반 고침). 기본 false / EN: Enable corrections that are open to debate (guideline-based fixes such as 되세요, 에 있어서 and overuse of the plural -들). Default false
disable_caret_spacingNo복합명사 분리 사전 적용 비활성화. 기본 false / EN: Disable the compound-noun splitting dictionary. Default false
enable_sentence_checkNo문장 단위 점검 활성화(호응·접속·성분 생략·번역투 피동). 기본 false / EN: Enable sentence-level checks (agreement, connectives, omitted constituents, translationese passives). Default false
disable_split_sentenceNo문장 단위 분할 비활성화. 기본 false / EN: Disable splitting into sentences. Default false
disable_typo_correctionNo오타(오탈자) 교정 비활성화. 기본 false / EN: Disable typo correction. Default false
enable_cleanup_whitespaceNo불필요한 공백 정리 활성화. 기본 false / EN: Enable cleanup of unnecessary whitespace. Default false
enable_public_term_refineNo공공 용어 순화 제안 활성화(어려운 한자어·외래어·일본어 투를 쉬운 말로, 확인 블록만). 기본 false / EN: Enable plain-language suggestions for public terms (difficult Sino-Korean words, loanwords and Japanese-style expressions, shown as confirmation blocks only). Default false
enable_limited_punctuationNo제약된 구두점 사용 기능 활성화. 기본 false / EN: Enable the restricted punctuation feature. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • changedInput schema / properties / custom_dict_names / description
      Previous value: -"적용할 사용자 사전 이름 목록(선택)"New value: +"적용할 사용자 사전 이름 목록(선택) / EN: Names of user dictionaries to apply (optional)"
    • changedInput schema / properties / disable_bias_check / description
      Previous value: -"혐오·차별 표현(낮잡는 말·차별 어휘) 확인 블록 비활성화. 기본 false(= 켬)"New value: +"혐오·차별 표현(낮잡는 말·차별 어휘) 확인 블록 비활성화. 기본 false(= 켬) / EN: Disable confirmation blocks for hateful or discriminatory expressions. Default false (the check is on)"
    • changedInput schema / properties / disable_caret_spacing / description
      Previous value: -"복합명사 분리 사전 적용 비활성화. 기본 false"New value: +"복합명사 분리 사전 적용 비활성화. 기본 false / EN: Disable the compound-noun splitting dictionary. Default false"
    • changedInput schema / properties / disable_confusion / description
      Previous value: -"혼동모델 비활성화. 기본 false"New value: +"혼동모델 비활성화. 기본 false / EN: Disable the confusable-word model. Default false"
    • changedInput schema / properties / disable_split_sentence / description
      Previous value: -"문장 단위 분할 비활성화. 기본 false"New value: +"문장 단위 분할 비활성화. 기본 false / EN: Disable splitting into sentences. Default false"
    • changedInput schema / properties / disable_typo_correction / description
      Previous value: -"오타(오탈자) 교정 비활성화. 기본 false"New value: +"오타(오탈자) 교정 비활성화. 기본 false / EN: Disable typo correction. Default false"
    • changedInput schema / properties / disable_vx_spacing / description
      Previous value: -"보조 용언 띄어쓰기 비활성화. 기본 false"New value: +"보조 용언 띄어쓰기 비활성화. 기본 false / EN: Disable spacing correction for auxiliary verbs and adjectives. Default false"
    • changedInput schema / properties / enable_cleanup_whitespace / description
      Previous value: -"불필요한 공백 정리 활성화. 기본 false"New value: +"불필요한 공백 정리 활성화. 기본 false / EN: Enable cleanup of unnecessary whitespace. Default false"
    • changedInput schema / properties / enable_contested_fix / description
      Previous value: -"논란 여지가 있는 고침 활성화(되세요·에 있어서·복수 -들 남용 등 지침 기반 고침). 기본 false"New value: +"논란 여지가 있는 고침 활성화(되세요·에 있어서·복수 -들 남용 등 지침 기반 고침). 기본 false / EN: Enable corrections that are open to debate (guideline-based fixes such as 되세요, 에 있어서 and overuse of the plural -들). Default false"
    • changedInput schema / properties / enable_limited_punctuation / description
      Previous value: -"제약된 구두점 사용 기능 활성화. 기본 false"New value: +"제약된 구두점 사용 기능 활성화. 기본 false / EN: Enable the restricted punctuation feature. Default false"
    • changedInput schema / properties / enable_public_term_refine / description
      Previous value: -"공공 용어 순화 제안 활성화(어려운 한자어·외래어·일본어 투를 쉬운 말로, 확인 블록만). 기본 false"New value: +"공공 용어 순화 제안 활성화(어려운 한자어·외래어·일본어 투를 쉬운 말로, 확인 블록만). 기본 false / EN: Enable plain-language suggestions for public terms (difficult Sino-Korean words, loanwords and Japanese-style expressions, shown as confirmation blocks only). Default false"
    • changedInput schema / properties / enable_sentence_check / description
      Previous value: -"문장 단위 점검 활성화(호응·접속·성분 생략·번역투 피동). 기본 false"New value: +"문장 단위 점검 활성화(호응·접속·성분 생략·번역투 피동). 기본 false / EN: Enable sentence-level checks (agreement, connectives, omitted constituents, translationese passives). 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 correct for spelling and spacing (required)"
    • changedInput schema / properties / treat_as_title / description
      Previous value: -"입력 문장을 기사 등의 제목으로 취급. 기본 false"New value: +"입력 문장을 기사 등의 제목으로 취급. 기본 false / EN: Treat the input as a headline, such as a news article title. Default false"
  2. Changed4 schema fields changed
    • addedInput schema / properties / disable_bias_check
      Added value: +{
      +  "description": "혐오·차별 표현(낮잡는 말·차별 어휘) 확인 블록 비활성화. 기본 false(= 켬)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / enable_contested_fix
      Added value: +{
      +  "description": "논란 여지가 있는 고침 활성화(되세요·에 있어서·복수 -들 남용 등 지침 기반 고침). 기본 false",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / enable_public_term_refine
      Added value: +{
      +  "description": "공공 용어 순화 제안 활성화(어려운 한자어·외래어·일본어 투를 쉬운 말로, 확인 블록만). 기본 false",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / enable_sentence_check / description
      Previous value: -"문장 단위 점검 활성화. 기본 false"New value: +"문장 단위 점검 활성화(호응·접속·성분 생략·번역투 피동). 기본 false"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds genuinely new behavior — it does not rewrite the original, it preserves style and tone, it restores spacing and inserts punctuation, and every edit carries an orthography-rule citation. It does not discuss limits on input size or latency, which keeps it from 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?

Content is front-loaded with the core action and return values, and each sentence contributes something (outputs, non-rewrite guarantee, rule citations, unspaced-input case, language scope). The parallel English restatement nearly doubles the length, which is useful for cross-lingual agents but is redundant verbiage by strict conciseness standards.

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?

Given 15 parameters and no output schema, the description does the important work of describing the return payload (corrected sentence, correction blocks, rule citations, explanations, examples). With 100% schema coverage the flags are self-documenting, so the only real gap is that the description does not tie its described features to the opt-in flags.

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?

All 15 parameters have full schema descriptions, so the baseline is 3. The description mentions behaviors that map onto flags (spacing restoration, sentence splitting, punctuation) but never names a parameter or explains an interaction, so it adds no meaning 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 names a specific verb and resource ('한국어 문장의 맞춤법·띄어쓰기를 교정합니다') and immediately states the two outputs (corrected sentence and correction blocks), which makes it clearly distinct from the analysis siblings (analyze_syntax, tokenize, search_dict). It also closes with a scope boundary ('Only Korean text is corrected'), so an agent can pick this tool without opening the schema.

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 contexts: work that requires a cited rationale for each edit (article numbers plus explanation and examples) and unspaced input such as speech-recognition output or auto captions. It does not name an alternative tool or state when not to use it, so it stops short of full when/when-not guidance.

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