Skip to main content
Glama

Bareun (바른) — Korean NLP & Spell Checking

우리말샘 음소 검색

search_dict
Read-only

우리말샘 사전을 자소(음소) 단위 슬롯 패턴으로 검색합니다. 완성형으로 표현할 수 없는 조건 — 초성·중성·종성 각각에 대한 조건('받침이 ㅎ인 용언', '중성이 ㅚ이고 받침 없는 1음절 어간') — 을 걸 수 있고, anchor=suffix 로 '-아지'·'-둥이'처럼 끝소리 검색도 됩니다. 각운(라임) 찾기, 초성 퀴즈·끝말잇기, 불규칙 활용 후보 수집처럼 글자를 자소로 쪼개야 풀리는 일에 씁니다. 색인 없이 사전 전체(약 100만 항목)를 훑으므로 넓은 패턴은 count_only 로 규모부터 확인하세요. EN: Searches the Urimalsaem dictionary (the open Korean dictionary) with jamo-level slot patterns. You can set conditions on the initial, medial and final of each syllable that cannot be written with whole syllables (for example a predicate whose final consonant is ㅎ, or a one-syllable stem with medial ㅚ and no final), and anchor=suffix also finds endings such as -아지 or -둥이. Use it for tasks that need letters split into jamo, such as finding rhymes, initial-consonant quizzes, word chains, and collecting irregular conjugation candidates. It scans the whole dictionary (about one million entries) without an index, so check the size of a broad pattern with count_only first.

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": {
      "pattern": "<pattern>"
    },
    "name": "search_dict"
  }
}

Input Schema

NameRequiredDescriptionDefault
posNo품사 필터(비우면 전체, OR). 우리말샘 표기('동사'·'명사'·'보조 동사') 또는 별칭('용언'·'동사류'·'형용사류'·'체언'·'부사류'·'수식언'·'관계언') / EN: Part-of-speech filter (empty means all, combined with OR). Use Urimalsaem names such as 동사 (verb), 명사 (noun), 보조 동사 (auxiliary verb), or aliases such as 용언 (predicates), 동사류, 형용사류, 체언 (substantives), 부사류, 수식언 and 관계언
limitNo돌려줄 표제어 최대 개수. 기본 100, 상한 1000 / EN: Maximum number of headwords to return. Default 100, maximum 1000
anchorNo패턴 위치. word(표제어 전체, 기본)/prefix(앞)/suffix(뒤 — '-아지'로 끝나는 말 등)/contains(포함) 중 하나 / EN: Where the pattern matches: word (whole headword, default), prefix, suffix (for example words ending in -아지) or contains
offsetNo건너뛸 표제어 개수(페이지 넘기기). 기본 0 / EN: Number of headwords to skip (for paging). Default 0
patternYes자소 슬롯 패턴(필수). 음절 리터럴('다'), {초/중/종} 슬롯({ㅅ//ㄴ}=초성ㅅ·종성ㄴ, {/ㅚ/-}=중성ㅚ·받침없음, {//ㅎ}=받침ㅎ), '*'(음절 0개 이상), '?'(음절 1개)를 조합한다. 슬롯 필드에는 자모(ㄱ), 겹받침·이중모음의 두 자모 이어쓰기(ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), 선택(ㄱ|ㅋ), 문자 클래스([ㄱㄴㄷ]·[^ㄱ]·[ㄱ-ㄷ]), 종성 전용 '-'(받침 없음)/'+'(받침 있음)를 쓸 수 있다. 예: '{ㅅ//ㄴ}다' → 신다, '*{//ㅎ}다' → 낳다·넣다·내놓다 / EN: Jamo slot pattern (required). Combine syllable literals (e.g. 다), {initial/medial/final} slots ({ㅅ//ㄴ} = initial ㅅ and final ㄴ, {/ㅚ/-} = medial ㅚ and no final consonant, {//ㅎ} = final ㅎ), '*' (zero or more syllables) and '?' (exactly one syllable). Slot fields accept a jamo (ㄱ), two jamo written together for double finals and diphthongs (ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), alternatives (ㄱ|ㅋ), character classes ([ㄱㄴㄷ], [^ㄱ], [ㄱ-ㄷ]), and for finals only '-' (no final) or '+' (has a final). Examples: '{ㅅ//ㄴ}다' matches 신다, '*{//ㅎ}다' matches 낳다, 넣다, 내놓다
std_onlyNotrue면 비표준어·방언·북한어 항목을 제외한다. 기본 false / EN: If true, exclude non-standard words, dialect words and North Korean words. Default false
count_onlyNotrue면 항목 없이 개수만 돌려준다(넓은 패턴의 규모 확인용). 기본 false / EN: If true, return only the count without entries (to check the size of a broad pattern). Default false
with_definitionNotrue면 표제어마다 뜻풀이·용례까지 돌려준다. 응답이 커지므로 필요한 때만. 기본 false / EN: If true, return definitions and usage examples for each headword. The response gets large, so use it only when needed. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / anchor / description
      Previous value: -"패턴 위치. word(표제어 전체, 기본)/prefix(앞)/suffix(뒤 — '-아지'로 끝나는 말 등)/contains(포함) 중 하나"New value: +"패턴 위치. word(표제어 전체, 기본)/prefix(앞)/suffix(뒤 — '-아지'로 끝나는 말 등)/contains(포함) 중 하나 / EN: Where the pattern matches: word (whole headword, default), prefix, suffix (for example words ending in -아지) or contains"
    • changedInput schema / properties / count_only / description
      Previous value: -"true면 항목 없이 개수만 돌려준다(넓은 패턴의 규모 확인용). 기본 false"New value: +"true면 항목 없이 개수만 돌려준다(넓은 패턴의 규모 확인용). 기본 false / EN: If true, return only the count without entries (to check the size of a broad pattern). Default false"
    • changedInput schema / properties / limit / description
      Previous value: -"돌려줄 표제어 최대 개수. 기본 100, 상한 1000"New value: +"돌려줄 표제어 최대 개수. 기본 100, 상한 1000 / EN: Maximum number of headwords to return. Default 100, maximum 1000"
    • changedInput schema / properties / offset / description
      Previous value: -"건너뛸 표제어 개수(페이지 넘기기). 기본 0"New value: +"건너뛸 표제어 개수(페이지 넘기기). 기본 0 / EN: Number of headwords to skip (for paging). Default 0"
    • changedInput schema / properties / pattern / description
      Previous value: -"자소 슬롯 패턴(필수). 음절 리터럴('다'), {초/중/종} 슬롯({ㅅ//ㄴ}=초성ㅅ·종성ㄴ, {/ㅚ/-}=중성ㅚ·받침없음, {//ㅎ}=받침ㅎ), '*'(음절 0개 이상), '?'(음절 1개)를 조합한다. 슬롯 필드에는 자모(ㄱ), 겹받침·이중모음의 두 자모 이어쓰기(ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), 선택(ㄱ|ㅋ), 문자 클래스([ㄱㄴㄷ]·[^ㄱ]·[ㄱ-ㄷ]), 종성 전용 '-'(받침 없음)/'+'(받침 있음)를 쓸 수 있다. 예: '{ㅅ//ㄴ}다' → 신다, '*{//ㅎ}다' → 낳다·넣다·내놓다"New value: +"자소 슬롯 패턴(필수). 음절 리터럴('다'), {초/중/종} 슬롯({ㅅ//ㄴ}=초성ㅅ·종성ㄴ, {/ㅚ/-}=중성ㅚ·받침없음, {//ㅎ}=받침ㅎ), '*'(음절 0개 이상), '?'(음절 1개)를 조합한다. 슬롯 필드에는 자모(ㄱ), 겹받침·이중모음의 두 자모 이어쓰기(ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), 선택(ㄱ|ㅋ), 문자 클래스([ㄱㄴㄷ]·[^ㄱ]·[ㄱ-ㄷ]), 종성 전용 '-'(받침 없음)/'+'(받침 있음)를 쓸 수 있다. 예: '{ㅅ//ㄴ}다' → 신다, '*{//ㅎ}다' → 낳다·넣다·내놓다 / EN: Jamo slot pattern (required). Combine syllable literals (e.g. 다), {initial/medial/final} slots ({ㅅ//ㄴ} = initial ㅅ and final ㄴ, {/ㅚ/-} = medial ㅚ and no final consonant, {//ㅎ} = final ㅎ), '*' (zero or more syllables) and '?' (exactly one syllable). Slot fields accept a jamo (ㄱ), two jamo written together for double finals and diphthongs (ㄹㄱ→ㄺ, ㅗㅏ→ㅘ), alternatives (ㄱ|ㅋ), character classes ([ㄱㄴㄷ], [^ㄱ], [ㄱ-ㄷ]), and for finals only '-' (no final) or '+' (has a final). Examples: '{ㅅ//ㄴ}다' matches 신다, '*{//ㅎ}다' matches 낳다, 넣다, 내놓다"
    • changedInput schema / properties / pos / description
      Previous value: -"품사 필터(비우면 전체, OR). 우리말샘 표기('동사'·'명사'·'보조 동사') 또는 별칭('용언'·'동사류'·'형용사류'·'체언'·'부사류'·'수식언'·'관계언')"New value: +"품사 필터(비우면 전체, OR). 우리말샘 표기('동사'·'명사'·'보조 동사') 또는 별칭('용언'·'동사류'·'형용사류'·'체언'·'부사류'·'수식언'·'관계언') / EN: Part-of-speech filter (empty means all, combined with OR). Use Urimalsaem names such as 동사 (verb), 명사 (noun), 보조 동사 (auxiliary verb), or aliases such as 용언 (predicates), 동사류, 형용사류, 체언 (substantives), 부사류, 수식언 and 관계언"
    • changedInput schema / properties / std_only / description
      Previous value: -"true면 비표준어·방언·북한어 항목을 제외한다. 기본 false"New value: +"true면 비표준어·방언·북한어 항목을 제외한다. 기본 false / EN: If true, exclude non-standard words, dialect words and North Korean words. Default false"
    • changedInput schema / properties / with_definition / description
      Previous value: -"true면 표제어마다 뜻풀이·용례까지 돌려준다. 응답이 커지므로 필요한 때만. 기본 false"New value: +"true면 표제어마다 뜻풀이·용례까지 돌려준다. 응답이 커지므로 필요한 때만. 기본 false / EN: If true, return definitions and usage examples for each headword. The response gets large, so use it only when needed. Default false"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so safety is not the description's burden. The description adds behavior the annotations do not: the search is unindexed and scans roughly one million entries, which explains latency and motivates the count_only pre-check. It stops short of describing result ordering or pagination semantics beyond what the offset parameter implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded well, opening with what the tool does before the use cases and the performance caveat. However, the full Korean and English duplication roughly doubles the token cost with no new information for a reader who can parse either language, so a meaningful share of the text does not earn its place.

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 8 parameters, no output schema, and a genuinely non-obvious pattern language, the description covers purpose, use cases and the main cost hazard, which is close to sufficient. The remaining gap is return-shape detail such as ordering and how count_only output differs, which is left entirely to the schema descriptions.

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% and the pattern parameter already documents slot syntax, wildcards, character classes and worked examples in full. The description's pattern and anchor illustrations largely restate that, adding the concrete '-아지'/'-둥이' suffix framing and the count_only sizing advice rather than new per-parameter meaning. Baseline 3 applies when the schema carries the detail.

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 verb and resource: searching the Urimalsaem dictionary with jamo-level slot patterns, and makes the capability concrete with constraints that whole-syllable search cannot express (final consonant ㅎ, medial ㅚ with no final). It also names the operations anchor=suffix enables, so an agent can distinguish it from generic text search or tokenize/analyze_syntax siblings without opening any 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 explicitly says when to use it (rhyme finding, initial-consonant quizzes, word chains, collecting irregular conjugation candidates) and frames the shared precondition: letters must be split into jamo. It also supplies an in-tool alternative path for the risky case, telling the agent to call with count_only first when the pattern is broad, which is the exact decision point an agent hits.

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