Skip to main content
Glama

image

Insert, update, replace, delete, or extract pictures in HWPX/HWP documents, with controls for position, size, crop, effects, and captions.

Instructions

그림. action: insert(at, path?, data?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); update(target, reset_size?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); replace(target, path?, data?); delete(target); extract(target, out_path)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNoLocator(한 점: s0/p3:5, doc:end, before:#p4 …)
cropNoimage.crop 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
dataNobase64로 쓴 바이트
flipNoimage.flip 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
lineNoimage.line 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
pathNo읽을 파일의 절대 경로
alphaNo
frameNoimage.frame 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
actionYes
effectNo
handleNodocument.new/open이 준 handle
marginNoimage.margin 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
targetNoLocator(노드 하나: #tbl7, s0/p3)
captionNo
effectsNoimage.effects 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')
contrastNo
out_pathNo쓸 파일의 절대 경로
rotationNo
brightnessNo
reset_sizeNo
inner_marginNoimage.inner_margin 속성 묶음(길이는 숫자 mm 또는 '12pt'·'20mm')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: no permission requirements, no note that delete/replace are destructive or irreversible, no mention of what happens to the target on overwrite, and no return-value description for extract. It is a bare signature.

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?

It is compact with no filler sentences, but the single run-on signature string is hard to parse and largely duplicates information already in the input schema, so its density buys less than it costs.

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

Completeness2/5

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

For a 21-parameter tool with no annotations and no output schema, the definition omits too much: the 'handle' parameter tying it to document.new/open is unexplained, extract's output/return is not described, and no action's side effects are covered.

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

Parameters4/5

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

With 62% schema coverage and 21 parameters, the schema alone does not say which parameters belong to which action. The description's per-action parameter lists (e.g. insert takes at/path/data/frame..., replace takes only target/path/data) add real conditional-applicability meaning the flat schema cannot express. It stops short of explaining individual parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with '그림' (picture) and enumerates five action verbs (insert/update/replace/delete/extract) against the 'image' resource, so the general domain is clear. However it is essentially a signature dump that restates the schema rather than stating purpose, and it draws no boundary against siblings like shape, chart, or table.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose insert vs update vs replace, no prerequisites (e.g. that update/delete need an existing target), and no mention of alternative tools. The action list implies usage but never states a condition for selecting one.

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