Skip to main content
Glama
pblsketch

Hangeul-mcp

by pblsketch

find_text_occurrences

Locate repeated visible text in HWP files to return structural addresses, enabling scoped edits via addressed edits.

Instructions

Locate repeated visible text in FILE MODE so edits can be scoped, not guessed.

Named fields / {} placeholders are NOT required. Use this when the template is driven by repeated , repeated ○○○, ordinary table cells, or paragraphs and you need structural addresses instead of a blind text replace. Repeated text must NOT be globally replaced without explicit scope; use the returned occurrences to choose exact structural targets, then send ONE addressed edits array (gather all values first) to preview_addressed_edits + apply_addressed_edits(session_id, out_path), or complete_addressed_template. Addressed file mode produces a completed copy and does not mutate the already-open same Hangul window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, but the description explains the tool's mode ('FILE MODE'), states it does not mutate the already-open Hangul window, and clarifies it returns structural addresses for subsequent editing tools. It implies it is a read-only find operation, which is transparent. Would benefit from explicitly stating it does not modify files.

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 structured with a clear lead sentence, then context, usage conditions, and workflow. Every sentence adds value, though it is slightly verbose with the inline references to other tools. Could be tightened, but overall efficient for the information provided.

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 the presence of an output schema (so return details are covered elsewhere), the description adequately covers what the tool does, when to use it, and how it fits into a larger workflow. It mentions 'structural addresses' but does not detail their format; however, the agent can infer from the output schema. The description is complete for deciding to invoke this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not elaborate on the 'path' and 'query' parameters. While 'path' is implied by 'FILE MODE' and 'query' as the text to find, there is no detail on expected formats, valid values, or how to specify the query (e.g., plain text vs. regex). This leaves the agent guessing.

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 clearly states the verb 'Locate repeated visible text' and specifies the resource ('FILE MODE') and goal ('so edits can be scoped, not guessed'). It distinguishes from blind text replace and aligns with sibling tools like 'find_text' by emphasizing structural addresses.

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?

Explicitly describes when to use (template with repeated markers, table cells), what not to do (global replace without scope), and the complete workflow: get occurrences, then use 'preview_addressed_edits' and 'apply_addressed_edits' or 'complete_addressed_template'. Provides clear alternatives and next steps.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pblsketch/Hangeul-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server