Skip to main content
Glama

Rapier - Markdown Editor & Art

Convert pictures with Rapier

convert

Convert pictures and video to JPEG XL and back in the converter in this app's view, on the person's device, JPEG carried byte-exact and other JXL to PNG, omitting files for the picker or linking https://rapier.website/jxl without a view. quality: high, veryhigh, lossless, or 1-100 (100 is lossless). Fresh view: high. Omitted quality/effort retain view choices. effort 1-10 (7 on a fresh view), higher is smaller and slower, 9 and 10 take a while, 10 can take 20 to 30 minutes for a 12 MP photo. Animation, video, longer_side and max_bytes cap effort at 9. max_bytes is per file and carries JPEG exactly when it fits. longer_side never enlarges. remove_location removes GPS only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoDisplay only, grants no authority.
filesNo
effortNo
qualityNo
max_bytesNo
longer_sideNo
operation_idNo
remove_locationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / agent / description
      Previous value: -"Your display name on acts. Never grants authority."New value: +"Display only, grants no authority."
    • removedInput schema / properties / quality / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "high",
      -      "veryhigh",
      -      "lossless"
      -    ],
      -    "maxLength": 16,
      -    "type": "string"
      -  },
      -  {
      -    "maximum": 100,
      -    "minimum": 1,
      -    "type": "integer"
      -  }
      -]
    • addedInput schema / properties / quality / oneOf
      Added value: +[
      +  {
      +    "enum": [
      +      "high",
      +      "veryhigh",
      +      "lossless"
      +    ],
      +    "maxLength": 16,
      +    "type": "string"
      +  },
      +  {
      +    "maximum": 100,
      +    "minimum": 1,
      +    "type": "integer"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / quality / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "lossless",
      -      "high",
      -      "medium"
      -    ],
      -    "maxLength": 16,
      -    "type": "string"
      -  },
      -  {
      -    "maximum": 100,
      -    "minimum": 1,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "high",
      +      "veryhigh",
      +      "lossless"
      +    ],
      +    "maxLength": 16,
      +    "type": "string"
      +  },
      +  {
      +    "maximum": 100,
      +    "minimum": 1,
      +    "type": "integer"
      +  }
      +]
  3. Changed9 schema fields changed
    • changedInput schema / properties / agent / description
      Previous value: -"Your display name on acts; never grants authority."New value: +"Your display name on acts. Never grants authority."
    • changedInput schema / properties / effort / maximum
      Previous value: -9New value: +10
    • addedInput schema / properties / longer_side
      Added value: +{
      +  "enum": [
      +    1920,
      +    1280,
      +    640
      +  ],
      +  "type": "integer"
      +}
    • addedInput schema / properties / max_bytes
      Added value: +{
      +  "enum": [
      +    100000,
      +    250000,
      +    500000,
      +    1000000,
      +    2000000
      +  ],
      +  "type": "integer"
      +}
    • addedInput schema / properties / quality / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "lossless",
      +      "high",
      +      "medium"
      +    ],
      +    "maxLength": 16,
      +    "type": "string"
      +  },
      +  {
      +    "maximum": 100,
      +    "minimum": 1,
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / quality / enum
      Removed value: -[
      -  "lossless",
      -  "high",
      -  "medium"
      -]
    • removedInput schema / properties / quality / maxLength
      Removed value: -16
    • removedInput schema / properties / quality / type
      Removed value: -"string"
    • addedInput schema / properties / remove_location
      Added value: +{
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the safety profile (not read-only, not destructive, not idempotent, not open-world); the description adds genuinely useful behavior the annotations can't convey: on-device execution, effort caps at 9 for animation/video, and concrete latency ('10 can take 20 to 30 minutes for a 12 MP photo'). The gap is output shape — with no output schema, the description should say what comes back (converted files? links? where), and instead only hints obliquely at 'omitting files for the picker' and a website link.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and almost every clause carries information, but the prose is compressed to the point of ungrammaticality — the second sentence is a run-on of fragments that takes several reads to parse. Parameter semantics are also scattered mid-paragraph rather than presented as a scannable list.

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 an 8-parameter, no-output-schema mutation-adjacent tool, the definition covers defaults, tradeoffs, caps and side effects well enough to call it correctly. It falls short on the input contract for files and operation_id, and on what the caller receives back, which matters given there is no output schema to fall back on.

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 only 13%, so the description has to carry the load and mostly does: quality presets and the 1-100 scale with 100 as lossless, fresh-view default of high, omission semantics ('omit quality/effort to retain view choices'), effort 1-10 with default 7 and higher-is-slower, max_bytes as per-file with byte-exact JPEG pass-through, longer_side never enlarging, remove_location stripping GPS only. Left unexplained are files (the only required-per-item fields download_url and file_id) and operation_id, which is the more consequential omission for callers.

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 opening clause names a specific verb and resource set — converting pictures and video to JPEG XL and back — and locates it (in the app's view, on-device), which separates it from siblings like edit, export or read. The intent is decipherable, but the follow-on clause ('JPEG carried byte-exact and other JXL to PNG, omitting files for the picker or linking ... without a view') muddies rather than sharpens the purpose statement.

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?

It gives real decision inputs — quality presets and their defaults, effort range and its cost, caps when animation/video/longer_side/max_bytes are set, and the 'without a view' alternative path. What it never states is when an agent should call convert rather than edit, export or show, so routing between siblings 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.