Skip to main content
Glama

Add Image to Document

add_image_to_document

Embed a PNG or JPEG image into a Word document, setting custom width, height, and alignment for precise placement.

Instructions

Embeds a PNG/JPEG image into a Word document with specified width, height, and alignment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alignNoImage alignmentcenter
widthPxNoDisplay width in pixels
filePathYesPath to target .docx file
heightPxNoDisplay height in pixels
imagePathYesPath to input image file
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 burden of behavioral disclosure. It states the action but does not mention whether the target document must already exist, whether it modifies the file in place, permission requirements, or error behavior. For a mutation tool, this is a significant transparency gap.

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

Conciseness5/5

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

The description is a single sentence that is concise and front-loaded with the essential action. It avoids redundancy and every phrase contributes to understanding the tool's purpose.

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?

The schema covers parameters well, and the description gives a clear purpose. However, it fails to mention important context such as whether the document must already exist, what happens if the file path is invalid, or any side effects like modifying the document in place. This is adequate but with noticeable gaps for a document-editing tool.

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?

The input schema provides 100% coverage for all five parameters, with descriptions for each. The description only repeats 'width, height, and alignment' which adds little beyond what the schema already specifies. Since schema coverage is high, a baseline of 3 is appropriate.

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 tool's function: 'Embeds a PNG/JPEG image into a Word document'. It specifies the action (embeds), the resource (image into a Word document), and mentions key parameters (width, height, alignment). This distinguishes it from sibling tools that add paragraphs, headings, or tables.

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

Usage Guidelines4/5

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

The description provides clear context that the tool is for inserting images into Word documents. While it does not explicitly mention when not to use it or name alternative tools, the context is unambiguous given the sibling list. It lacks explicit exclusions, so it earns a 4 rather than a 5.

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/MarwanDevSpace/mcp-arabic-ms-word'

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