Skip to main content
Glama

wps_wpp_insert_image

Insert an image into a WPS slide using a file path, with configurable position, size, and target slide index. Defaults to the current slide when slide_index is omitted.

Instructions

向指定幻灯片插入图片。不传 slide_index 则用当前选中页。注意:WPS 沙盒只授权读取 ~/Downloads、或曾被 Finder/shell "open" 打开过的文件;图片路径若未被授权,可能被系统静默拦截导致插入失败或插入空白,建议图片放在 ~/Downloads 下。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoY 坐标(默认 100)
leftNoX 坐标(默认 100)
pathYes图片文件绝对路径
widthNo宽度(默认按图片原始比例缩放)
heightNo高度(默认按图片原始比例缩放)
slide_indexNo幻灯片序号(默认当前页)
Install Server

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does well. It discloses that unauthorized file paths may be silently intercepted, causing insertion failure or blank images—an important non-obvious behavior. It also clarifies the default slide selection behavior.

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?

Two well-structured sentences: the first states the action and default, the second warns about the sandbox restriction with a suggested mitigation. No redundant words, and the critical info is front-loaded.

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

Completeness5/5

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

For a tool with 6 parameters and no output schema, the description provides all essential context: the action, the default behavior, the key environmental constraint, and a workaround. The schema covers parameter details, so the description is not missing critical information.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the sandbox authorization caveat for the path parameter, which is not in the schema. It also reinforces the slide_index default, but does not add detail for top/left/width/height beyond schema.

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?

Description clearly states the action: insert an image into a specified slide, with a default to the current slide if slide_index is omitted. This distinguishes it from sibling tools like wps_word_insert_image by explicitly mentioning slides.

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?

Provides concrete usage guidance: explains the default behavior when slide_index is not passed, and gives a critical prerequisite about file authorization in the WPS sandbox, including a suggestion to place images in ~/Downloads. This tells the agent when to use it and what conditions must be met.

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

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/Antares422/draftly-wps'

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