Skip to main content
Glama

wordpress_convert_to_webp

wordpress_convert_to_webp

Convert a media image to WebP format by providing its media ID, reducing file size for faster website performance.

Instructions

Convert image to WebP format

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It simply says 'Convert image to WebP format' without explaining whether the original file is replaced, whether a new media item is created, whether the operation is reversible, or what side effects occur. This is a significant gap for a mutation tool.

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 with no filler words. It gets straight to the point. Every word is necessary, and there is no redundant information.

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 tool with one parameter, no output schema, and no annotations, the description is still incomplete. It doesn't state what the result of the conversion is (e.g., success message, new URL) or describe any side effects. Users would need to guess whether the original media is replaced or a new file is created. This falls short of a minimum viable description.

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

Parameters2/5

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

The input schema exposes one required parameter, mediaId (number), but the description does not explain what mediaId is or how it relates to the conversion. Schema coverage is 0%, and the description only says 'image' without connecting it to the parameter. The name mediaId is somewhat self-explanatory, but the description adds no explicit meaning beyond the schema.

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

Purpose4/5

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

The description uses a specific verb 'Convert' and resource 'image', and specifies the target format 'WebP'. It clearly states the tool's function. However, it doesn't explicitly differentiate from sibling tools like wordpress_bulk_optimize_images, which may also involve WebP conversion, so it loses a point for lacking explicit distinction.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., supported input formats), whether it's for single-image conversion, or any reference to other tools. There is no 'use this when...' or exclusionary context.

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

Deploy Server

Other Tools