Skip to main content
Glama

Choose an image format

recommend_image_format
Read-only

Recommends JPG, PNG, WebP, AVIF, SVG or GIF for a given image and destination, with the trade-offs and measured size change from Pixohub's conversion tests.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>",
      "destination": "<destination>"
    },
    "name": "recommend_image_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesWhat the image is.
destinationYesWhere it will be used.
transparencyNoDoes it need a transparent background?
current_formatNoThe format it is in now (jpg, png, heic, webp…), to get a conversion link and our measured result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral value beyond them: it discloses that the response includes trade-offs and a measured size change sourced from Pixohub's conversion tests, which tells the agent the output is evidence-backed rather than generic advice.

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?

A single sentence that front-loads the verb, the candidate formats, and the inputs, then closes with what the result contains. No filler, no redundancy.

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

Completeness4/5

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

For a read-only advisory tool with fully documented parameters and no output schema, the description is nearly sufficient: it states the input basis and that output includes trade-offs plus measured size change. It stops short of describing the shape of the recommendation (e.g., whether one format is picked as a winner versus a ranked comparison), which is the only material gap.

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 description coverage is 100%, with both required parameters (content, destination) having enums and descriptions, so the schema already does the heavy lifting. The description only restates 'for a given image and destination' and adds no new semantics such as how transparency or current_format alter the recommendation. The baseline 3 applies.

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 gives a specific verb (recommends) and enumerates the exact resource domain (JPG, PNG, WebP, AVIF, SVG, GIF) for a given image and destination. It is clear what the tool produces. It does not name a sibling to distinguish itself from, e.g., compression_advice or conversion_test_result, even though 'measured size change from conversion tests' overlaps in theme with conversion_test_result.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'for a given image and destination' — the agent can infer it should call this when it needs a format choice. There is no explicit when-not guidance and no mention of the sibling tools (compression_advice, conversion_test_result, get_platform_image_size) that could also be relevant, so routing between them is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.