Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
prepare_compressionA

视觉无损压缩图片(JPEG/PNG/WebP/AVIF/GIF/SVG),结果存放在临时目录,不修改原图。返回 plan_id 和预览表。必须把预览表完整展示给用户,并在用户明确同意后才能调用 apply_compression。

apply_compressionA

用 prepare_compression 的结果替换原图。只能在用户看过预览表并明确同意后调用。

cancel_compressionA

丢弃 prepare_compression 的结果并清理临时文件,原图不受影响。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role in the workflow: prepare generates a compression plan and preview, apply commits the changes, and cancel discards the plan. There is no overlap in purpose, and the descriptions explicitly state when each should be used.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: prepare_compression, apply_compression, cancel_compression. The verbs are distinct and the noun is consistent, making the pattern predictable.

Tool Count5/5

With only 3 tools, the set is minimal but perfectly scoped to the compression workflow. Each tool corresponds to a necessary step (prepare, apply, cancel), and no extraneous tools are present.

Completeness5/5

The surface covers the full lifecycle: creating a compression plan with preview, committing the result, and aborting the operation. There are no obvious missing operations for the stated purpose of safe, preview-based image compression.

Maintenance

ActivityMaintained
ResponsivenessNo issues