Skip to main content
Glama
First-CH

@first-ch/tools-mcp

Official
by First-CH

画像→WebP変換

webp_convert

Convert PNG and JPEG images to WebP format for web optimization. Specify quality and output directory; defaults to input location with .webp extension.

Instructions

PNG/JPEG画像ファイルをWebPへ変換して保存する。エンコーダは tools.first-ch.com/webp/ と同一のlibwebp WASM(品質既定80)。Web制作の画像最適化・納品前の軽量化に使う。入力は絶対パス。出力先を省略すると入力と同じ場所に拡張子.webpで保存する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYes変換するPNG/JPEGファイルの絶対パスの配列
qualityNo品質1-100(既定80)
outputDirNo出力先ディレクトリ(省略時は各入力と同じ場所)
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses encoder source, default quality, input absolute path requirement, and output location behavior. Lacks details on overwriting behavior, error handling, or other side effects.

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?

Three concise sentences, front-loaded with action, no redundancy. Every sentence adds unique value.

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?

Describes core conversion and basic parameters, but lacks return value specification (no output schema). Adequate for a simple conversion tool but omits details like success/error reporting.

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 100%, so description adds limited value beyond schema. It reinforces input path requirement and default output behavior, but does not provide essential additional meaning.

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 converts PNG/JPEG to WebP and saves, with specific encoder details. It is unique among siblings (contrast_check, count_chars, etc.) and distinct in purpose.

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?

Explicitly mentions usage for web image optimization and pre-delivery weight reduction, providing context. Does not explicitly mention when not to use or alternatives, but no similar sibling tools exist.

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/First-CH/firstch-tools-mcp'

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