Skip to main content
Glama
bagushd1
by bagushd1

add_picture_docx

Inserts images into Word .docx documents from a file path or base64, with optional width/height, alignment, caption, alt text, or table-cell placement.

Instructions

Menyisipkan gambar (.png/.jpg/dll) ke dokumen Word melalui path file atau string base64 dengan opsi lebar/tinggi (Inches atau Cm), perataan, caption, alt text/title, atau ke dalam sel tabel

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
titleNo
captionNo
alt_textNo
width_cmNo
alignmentNo
file_pathYes
height_cmNo
image_pathNo
table_indexNo
image_base64No
width_inchesNo
height_inchesNo
paragraph_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses meaningful capability context (two input modes, unit options, caption/alt-text support, table-cell target), but omits any behavioral detail like which document is modified, what happens on failure, permissions, or return behavior.

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?

A single front-loaded sentence that leads with the core action and then enumerates options efficiently. Dense but not padded, though the long option list makes it slightly run-on.

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?

An output schema exists so return values need not be explained, and the capability list is broad. However, for a 15-parameter tool with no annotations, gaps around the required file_path target and the paragraph/table-cell positioning parameters leave the agent under-informed.

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 0% across 15 parameters, so the description must compensate. It maps several parameters well (image_path/image_base64, width/height in Inches or Cm, alignment, caption, alt_text/title, table cell), but leaves the required file_path, paragraph_index, and the row/col/table_index interaction unexplained.

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?

States a specific verb (insert) and resource (image into a Word document), and enumerates distinctive capabilities (path/base64 input, sizing, alignment, caption, alt text, table-cell placement) that cleanly separate it from siblings like resize_picture_docx, delete_picture_docx, and get_images_info_docx.

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?

The description lists what options exist but never says when to choose this tool over alternatives such as resize_picture_docx or extract_images_docx, nor any prerequisites. Usage is only implied by the verb.

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