Skip to main content
Glama

text

Manipulate content in Korean Hangul documents (.hwpx/.hwp) with actions for insert, delete, replace, copy, move, and auto-fill. Specify targets using locators.

Instructions

글 넣기·지우기·바꾸기·모두 바꾸기·복사·이동·자동 입력 코드. action: insert(at, text, style?, char?); delete(range); replace(range, text); replace_all(find, replace, regex?, case?, range?); copy(range, at, src?); move(range, at); insert_code(at, kind, format?, side_char?)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNoLocator(한 점: s0/p3:5, doc:end, before:#p4 …)
srcNo다른 문서의 handle
caseNo
charNoCharProps (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB')
findNo
kindNo
textNo
rangeNoLocator(글 범위: s0/p3:5-12, s0/p2..s0/p9, find:"…")
regexNo
styleNo
actionYes
formatNo
handleNodocument.new/open이 준 handle
replaceNo
side_charNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about mutation semantics, reversibility/undo, permissions, or side effects of operations like replace_all across a range. For a 7-action write-oriented tool this is a substantial 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 action inventory is front-loaded and each action's signature is packed into a single dense line with no filler. It is terse rather than verbose, which is appropriate for a parameter-heavy dispatcher tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 7 actions, 15 flat parameters, no annotations, and no output schema, the description covers the action-to-parameter mapping but omits behavior, error modes, and return information an agent would need to invoke mutations safely. Adequate but clearly short of complete for this complexity.

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 coverage is only 33%, so the description must compensate, and it does add real value by mapping which parameters belong to which action in a flat 15-property schema. However, several parameters (side_char, format, style, case, regex) get no semantic explanation beyond appearing in a signature, so the compensation is partial.

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 description names the exact operations (insert, delete, replace, replace_all, copy, move, insert_code) on text and lists each action's signature, so an agent knows the tool's scope despite the vague name 'text'. It does not, however, distinguish this tool from siblings like char_format or para_format, which handle adjacent concerns.

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?

Listing per-action parameter sets implicitly guides which action to pick, but there is no explicit when-to-use/when-not statement or routing to alternatives (e.g., formatting vs. editing). Usage is inferred rather than stated.

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