image-processing
Server Details
Image processing for AI agents. Resize, convert, compress, and pipeline images.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.9/5 across 8 of 8 tools scored.
Most tools target distinct operations (analyze, resize, crop, convert, compress, pipeline), but convert_image and compress_image overlap in their format/quality options, and optimize_for_vision and resize_image both scale images. Descriptions clarify intent, but boundaries are not always crisp.
All tools use snake_case verb_noun naming (analyze_image, compress_image, etc.), with the exception of image_pipeline, which is a noun phrase and breaks the verb-first pattern. Otherwise the naming is consistent and predictable.
8 tools is well-scoped for an image processing server, covering analysis, transformation, format conversion, compression, optimization, pipeline, and information discovery. There is no redundancy or bloat.
Core image operations are covered: analyze, resize, crop, compress, convert, optimize, and a pipeline to combine them. Missing rotate/flip/filters, but these are not essential to the apparent core purpose. Minor gaps only.
Available Tools
8 toolsanalyze_imageAInspect
Analyze an image
Fetch an image from a URL or base64 and return its metadata: size in bytes, pixel dimensions, source format, and what it costs every supported vision model in tokens. Always free. Dimensions are omitted if the image header cannot be read.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
Example Response:
{
"size_bytes": 1
}| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral disclosure burden. It reveals useful traits: fetching from URL/base64, returning specific metadata, 'Always free', and omitting dimensions if the header cannot be read. This goes beyond the schema, though it doesn't mention other failure modes or authorization requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded, with a clear first sentence and detailed follow-up. The 'Responses' section and example response add useful context, though the example is minimalistic and slightly inconsistent with the broader list of returned fields, preventing a perfect score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (1 parameter, no output schema, no annotations), and the description adequately covers input formats, output fields, a special case (missing dimensions), and cost implications. It provides enough context for an agent to use the tool correctly, though a fuller example response would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the schema already fully describes the 'source' parameter as a URL or base64 string, optionally as a data URI. The description adds no new parameter semantics beyond what the schema provides, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action ('Analyze an image'), the input type (URL or base64), and the specific metadata returned (size, dimensions, format, token costs). It distinguishes itself from sibling tools that primarily modify or transform images (compress, convert, crop, resize, optimize).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool—when you need image metadata or model token costs—but does not explicitly state when not to use it or directly compare against alternatives like get_format_info. The 'Always free' note hints at a benefit, but usage guidance is mostly implied rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compress_imageBInspect
Compress an image
Re-encode an image with quality/format options to reduce file size. Supports jpeg, png, webp, tiff, gif. Instead of a q number you can set quality_target (0-1]: the smallest file with SSIM at or above the target, searched on the worker (jpeg, webp, avif; flat surcharge; outcome reported in X-Pictomancer-Quality-* headers). If the output is not smaller than the input, the request is free (X-Pig-Billed: 0) and does not consume free-tier quota.
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Quality (1-100). Lower = smaller file. Typical values: 60-80 for web, 85-95 for print. Maps to libvips Q parameter. | |
| strip | No | Strip metadata (EXIF, ICC profile, etc.) from the output. Reduces file size slightly. | |
| format | No | Output format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved. | |
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| autorot | No | Apply EXIF orientation before compressing. Opt-in; default false, which preserves current byte-for-byte behavior. | |
| delivery | No | ||
| quality_target | No | Target SSIM (0-1]: the worker searches for the smallest file that still scores at least this. Alternative to q; mutually exclusive with it. Requires an explicit format among jpeg, webp, avif. Carries a flat surcharge for the extra encodes. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It does disclose billing behavior (free when output isn't smaller, X-Pig-Billed: 0), quality_target search with surcharge, and response output format. However, it omits significant side effects of the delivery parameter (writing to PUT URLs or POSTing callbacks) and contains an internal inconsistency: the initial supported-format list excludes avif, but later mentions avif for quality_target.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core description is efficient, but the 'Responses' section is lengthy and repetitive, with three near-identical 'Example Response: string' blocks. This adds noise without providing useful information, detracting from overall conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers key compression behavior, billing, and supported formats, but the tool is complex (7 params, delivery modes with side effects). It lacks guidance on delivery options and alternative tools, and the internal format inconsistency adds confusion. The schema fills some gaps, but the description alone is not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is high at 86%, so baseline is 3. The description adds meaningful detail beyond the schema by explaining quality_target's SSIM search and surcharge, and how it 'instead of' q. This goes above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Compress an image' and clarifies 'Re-encode an image with quality/format options to reduce file size,' which clearly states the tool's purpose and distinguishes it from crop, resize, and analyze siblings. However, it does not explicitly contrast with convert_image, so it stops short of full sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for reducing file size and explains the internal choice between q and quality_target, but it gives no explicit guidance on when to use compress_image vs alternatives like convert_image or optimize_for_vision. Context is clear, but exclusion criteria are absent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
convert_imageAInspect
Convert image format
Convert an image to a different format (jpeg, png, webp, tiff, gif, avif). Optionally set quality, strip metadata, enable lossless mode (webp, avif), or tune encoder effort (avif). Instead of a q number you can set quality_target (0-1]: the smallest file with SSIM at or above the target, searched on the worker (jpeg, webp, avif; flat surcharge; outcome reported in X-Pictomancer-Quality-* headers).
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Quality (1-100). Maps to libvips Q parameter. | |
| strip | No | Strip metadata (EXIF, ICC profile, etc.) from the output. | |
| effort | No | AV1 encoder CPU effort (0-9). Higher = smaller file, slower. Only applies to avif. | |
| format | Yes | Target format: jpeg, png, webp, tiff, gif, or avif. | |
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| autorot | No | Apply EXIF orientation before converting. Opt-in; default false, which preserves current byte-for-byte behavior. | |
| delivery | No | ||
| lossless | No | Enable lossless encoding. Only applies to webp and avif. | |
| quality_target | No | Target SSIM (0-1]: the worker searches for the smallest file that still scores at least this. Alternative to q; mutually exclusive with it and with lossless. Only for jpeg, webp, avif. Carries a flat surcharge for the extra encodes. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does a good job. It discloses optional behaviors (quality, strip metadata, lossless mode, effort) and explains the quality_target mechanism, including server-side search, surcharge, and resulting X-Pictomancer-Quality-* headers. It also indicates the response is a processed image binary. Missing details like authentication or rate limits, but these are not critical for this tool's operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The first paragraph is concise and informative, but the response section is bloated and repetitive: the same example response ('"string"') is shown three times with only a different Content-Type header, and 'Content-Type: application/json' appears inconsistently. This redundancy adds noise without value, harming structure and conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 9 parameters and no output schema, the description is fairly complete. It explains the core conversion purpose, lists formats, covers quality_target, quality, strip, lossless, and effort, and outlines the HTTP response. The missing delivery-mode details and error cases are well covered in the schema, so the description does not need to repeat them. The messy response section is a minor detractor.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 89% (high), so the baseline is 3. The description adds some context beyond the schema by clarifying the trade-off between q and quality_target and mentioning the flat surcharge, but most parameter semantics (e.g., delivery modes, effort, autorot) are already well described in the schema. The description does not introduce meaning for the less-covered parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Convert image format' and immediately specifies the action: converting an image to a different format, listing all supported formats (jpeg, png, webp, tiff, gif, avif). This clearly distinguishes it from sibling tools focused on analysis, compression, cropping, resizing, and other image operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage is implied: use when you need to change an image's format. However, there is no explicit guidance on when not to use it or which alternative tool to choose for related operations (e.g., compress_image for size reduction without format change). The description does not exclude any scenarios or mention sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
crop_imageAInspect
Crop an image
Extract a rectangular region from an image, in one of three mutually exclusive modes. Manual: give the top-left corner (x, y) and dimensions (width, height) in pixels. Smart crop: give 'gravity' (attention, entropy, centre) plus width and height; the window is picked automatically, clamped to the source if the target is larger. Trim: set 'trim: true' (optional 'threshold') to remove a uniform background border via content detection; the applied rect is reported in X-Pictomancer-Trim-* headers.
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left edge of the crop rectangle in pixels. Manual mode only. | |
| y | No | Top edge of the crop rectangle in pixels. Manual mode only. | |
| trim | No | Trim mode: removes a uniform background border via content detection. Mutually exclusive with x/y/width/height/gravity. | |
| width | No | Width of the crop rectangle in pixels. Required in manual and gravity modes. | |
| format | No | Output format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved. | |
| height | No | Height of the crop rectangle in pixels. Required in manual and gravity modes. | |
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| autorot | No | Apply EXIF orientation before cropping. Opt-in; default false, which preserves current byte-for-byte behavior. | |
| gravity | No | Smart-crop mode: picks the window automatically. One of ('attention', 'entropy', 'centre'). Requires width and height; mutually exclusive with x/y and trim. A target larger than the source clamps to the source size. | |
| delivery | No | ||
| threshold | No | Trim sensitivity (must be positive; default 10.0). Only valid together with trim: true. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses clamping behavior for smart crop, the X-Pictomancer-Trim-* headers for trim, and indicates the response is a processed image binary. It does not elaborate on delivery options or potential side effects, but these are covered by the schema and not required for basic usage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The first paragraph is tight and front-loaded, but the Responses section is poorly structured with redundant Content-Type lines and a meaningless example ('string'). This reduces clarity and wastes space, making the overall description less concise than it could be.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the three modes, clamping, trim headers, and response type. With 11 parameters but 91% schema coverage, the additional context is sufficient for most users, though it omits delivery options (put_url/callback) from the prose, which are still documented in the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is high (91%), so the baseline is 3. The description adds a conceptual framework by grouping parameters into three modes and explains how 'gravity' works and what 'threshold' affects, which goes beyond individual schema descriptions and adds real meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with the verb 'Crop an image' and immediately explains the three mutually exclusive modes (Manual, Smart crop, Trim), clearly defining what the tool does. It distinguishes from sibling tools like resize_image or compress_image by focusing specifically on cropping and the modes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells which parameters to use for each of the three cropping modes and notes mutual exclusivity, providing clear context for when to use each mode. However, it does not explicitly direct users away to a sibling tool for non-crop operations, so it lacks explicit alternative exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_format_infoAInspect
Get supported formats and options
Returns supported output formats and their configurable options.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the transparency burden. It clearly states that the tool returns supported formats and options, which implies a read-only query operation. The absence of side effects or side-channel behavior is adequately conveyed for a tool of this simplicity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is short but somewhat redundant: 'Get supported formats and options' and 'Returns supported output formats and their configurable options' restate the same idea. The Responses section adds standard HTTP status detail, but the first two sentences could be merged into one efficient line.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple, parameterless query tool, the description is reasonably complete. It states the purpose and the return value. Although there is no output schema, the description explains what is returned (supported formats and options). The sibling context clarifies that this is a non-action informational tool, making the overall picture adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool accepts zero parameters, so the input schema provides no semantic content. The description correctly adds no parameter information because there is none to add. Per the rubric, a 0-parameter tool receives a baseline of 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's function: it gets supported formats and returns their configurable options. The verb 'Get' and the specific resource 'supported formats and options' make the purpose unambiguous, and it is distinct from sibling tools that perform image transformations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage context is implied: given the sibling tools all perform image operations, this is evidently a query/utility tool for retrieving format information. However, there is no explicit guidance on when to use it instead of alternatives, nor any mention of prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
image_pipelineAInspect
Run a multi-step image pipeline
Chain multiple operations (resize, compress, convert, crop) in sequence. The image is fetched once, then each operation is applied to the output of the previous one. Max 10 operations per pipeline.
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| delivery | No | ||
| operations | Yes | Ordered list of operations to apply sequentially. Each operation receives the output of the previous one. Max 10. |
Tool Definition Quality
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 key behaviors: image is fetched once, operations apply sequentially, max 10 operations, and response content types. It omits side effects like writing to PUT URLs or callbacks, but covers essential processing behavior well.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the core behavior, followed by structured response examples. No wasted words; the separation of processing logic and responses aids readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is complex with delivery modes and multi-step processing, and the description covers the pipeline flow and limits. Missing details like error cases and delivery side effects are partly covered by the schema, making the description adequate for selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 67%, with detailed descriptions for source and operations. The description restates operation types but adds little beyond the schema. It does not clarify delivery semantics, which are complex but already well described in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states 'Run a multi-step image pipeline' and details that it chains operations (resize, compress, convert, crop) in sequence. This distinguishes it from sibling single-operation tools like resize_image and compress_image.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for multi-step workflows by explaining sequencing and a 10-operation limit. It doesn't explicitly contrast with single-operation siblings, but the use case is evident from the context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
optimize_for_visionAInspect
Resize an image for a vision model
Resize an image to the largest size a given vision model still benefits from, and report what it costs that model in tokens before and after. Every provider downscales oversized input before counting tokens, so this alone saves bytes and upload latency rather than tokens. Pass max_tokens to trade resolution for tokens: that lever is continuous on Claude, unavailable on OpenAI (cost follows the aspect ratio alone), and on Gemini reaches only a flat 258. An image already within budget is returned untouched and free (X-Pig-Billed: 0).
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Quality (1-100). Maps to libvips Q parameter. | |
| format | No | Output format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved. | |
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| delivery | No | ||
| max_tokens | No | Optional cap on what the image may cost the target model. Without it the image is resized to the model's own ceiling, which saves bytes and upload latency but no tokens, because every provider already downscales oversized input before counting. Set a budget to trade resolution for tokens. The response reports the cost actually achieved: on OpenAI it cannot be lowered by resizing at all, and on Gemini only down to a flat 258. | |
| target_model | Yes | Vision model the image is being prepared for, e.g. claude-opus-5, gpt-4o, gemini-2.5-pro. Unknown ids are rejected rather than guessed: the wrong limits would silently resize to the wrong size. |
Tool Definition Quality
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 resizing alone saves bytes/latency but not tokens, that max_tokens behaves differently across Claude/OpenAI/Gemini, and that in-budget images are returned untouched and free (X-Pig-Billed: 0). It does not discuss rate limits or auth, but those are less central here.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The main paragraph is front-loaded and dense with meaningful info about provider-specific behavior and token economics. The Responses section is slightly redundant with repeated Content-Type headers and 'string' placeholders, but it does provide return-type hints in the absence of an output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description explains the outcome (resized image, token cost report, free/billed header) and includes response examples. The schema covers the remaining parameter semantics well. Minor gap: it does not detail error cases beyond the schema's note on unknown model IDs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 83% and parameter docs are already detailed (e.g., max_tokens and target_model). The description reinforces max_tokens behavior but adds little beyond the schema's own parameter descriptions, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool resizes an image for a vision model and reports its token cost before and after. This specific verb+resource+scope distinguishes it from sibling tools like resize_image or compress_image, which do not include model-specific token reporting.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides clear context: use this when preparing an image for a vision model, and explains when to pass max_tokens to trade resolution for tokens. However, it does not explicitly name alternatives or state when not to use this tool versus resize_image or compress_image, so it lacks explicit exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resize_imageAInspect
Resize an image
Scale an image by a factor, or fill an exact box. Use 'scale' for uniform scaling, or 'scale_x'/'scale_y' for independent axes (float factors, e.g. 0.5 = half size). Alternatively set 'width'+'height' for fill mode: resize and smart-crop to those exact dimensions in one call (optional 'gravity', default attention). The two modes are mutually exclusive.
Responses:
200: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg
Example Response:
"string"Content-Type: image/png
Example Response:
"string"Content-Type: image/webp
Example Response:
"string"| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Uniform scale factor applied to both axes (e.g. 0.5 = half size). Use this for simple scaling; use scale_x/scale_y for independent axes. | |
| width | No | Target width in pixels for fill mode: resize and smart-crop to these exact dimensions in one call. Requires height. Mutually exclusive with scale/scale_x/scale_y. Upscaling is allowed. | |
| format | No | Output format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved. | |
| height | No | Target height in pixels for fill mode. Requires width. | |
| source | Yes | Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...). | |
| autorot | No | Apply EXIF orientation before resizing. Opt-in; default false, which preserves current byte-for-byte behavior. | |
| gravity | No | Fill-mode smart-crop strategy: one of ('attention', 'entropy', 'centre'). Only valid together with width and height; defaults to attention. | |
| scale_x | No | Horizontal scale factor (e.g. 0.5 = half width). If only scale_x is given, scale_y defaults to the same value. | |
| scale_y | No | Vertical scale factor (e.g. 0.75 = 75% height). Optional; defaults to scale_x if omitted. | |
| delivery | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the response format ('Processed image binary' with content types), describes the smart-crop behavior in fill mode, and notes the gravity default. It does not mention delivery modes or source immutability, but those are documented in the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a concise opening paragraph and a clearly separated response section. The response section is slightly repetitive listing multiple content types, but overall every section earns its place and the key information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite 10 parameters and no output schema, the description covers the core resizing modes and response format. It omits delivery options, but those are thoroughly documented in the input schema. Given the high schema coverage and the presence of sibling tools, this is sufficiently complete for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 90%, so the baseline is 3. The description does synthesize the relationship between scale and scale_x/scale_y and explains fill mode, but this information largely repeats what is already in the schema's property descriptions. It adds minimal new meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the operation ('Resize an image') and outlines the two distinct modes (scale by factor, fill exact box). It is specific about the resource and scope, but it does not explicitly differentiate from sibling tools like crop_image or convert_image, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use each mode: 'Use scale for uniform scaling, or scale_x/scale_y for independent axes' and 'Alternatively set width+height for fill mode'. It also notes the modes are mutually exclusive, giving clear context. However, it does not mention when to use this tool versus alternative sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Alicense-qualityDmaintenanceProvides AI agents with tools to convert images between formats and inspect image metadata, enabling seamless image processing within agent workflows.93MIT
- Alicense-qualityDmaintenanceEnables AI agents to perform image processing tasks such as sprite sheet splitting, resizing, cropping, and batch operations on local images.MIT
- Alicense-qualityDmaintenanceProvides 80+ image processing tools including AI generation, background removal, upscaling, local manipulation, and diagram rendering, all with built-in cost tracking and health monitoring.29MIT
- AlicenseAqualityDmaintenanceEnables comprehensive image editing operations including resizing, format conversion, cropping, compression, rotation, flipping, and batch processing. Supports JPEG, PNG, WebP, and AVIF formats with quality control and metadata extraction.83018MIT