Skip to main content
Glama
hect0x7

JMComic AI

by hect0x7

post_process

Convert downloaded manga albums into ZIP, PDF, or long image formats. Provide the album ID and process type, with optional output rules, to generate files at your chosen location.

Instructions

对已下载的本子进行后处理(生成 Zip、PDF 或长图)。

参数: album_id: 要处理的本子 ID。 process_type: 后处理类型,可选值为 "zip", "img2pdf", "long_img"。 params: 后处理参数字典。支持: - dir_rule: 输出路径规则。格式: {"rule": "Bd/{Atitle}.zip", "base_dir": "D:/Comics"}。 - delete_original_file: 布尔值,处理完成后是否删除原始文件。

返回: 包含以下内容的字典: - status: "success" 或 "error" - process_type: 后处理类型 - album_id: 本子 ID - output_path: 输出文件/目录的绝对路径 - output_paths: 插件实际生成的全部文件绝对路径 - is_directory: 输出是否为目录 - message: 成功或错误消息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo
album_idYes
process_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/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 clearly discloses that original files may be deleted via delete_original_file, explains the processing outputs, and describes the return status and paths. It does not mention overwrite behavior or default deletion, but it is substantially transparent for a processing tool.

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

Conciseness4/5

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

The description is well-structured with clear sections, front-loads the purpose, and gives parameter details in an easy-to-scan format. The return section is somewhat redundant given the output schema exists, but it is concise and informative without excessive verbosity.

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?

Given the tool's moderate complexity, the description covers all parameters, allowed values, output format examples, and return fields. It lacks explicit usage boundaries and default deletion behavior, but with an output schema available and detailed parameter semantics, it is largely complete for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully compensate. It provides meaning for every parameter: album_id is defined, process_type has explicit allowed values, and params is detailed with a concrete dir_rule example and the delete_original_file boolean semantics. This far exceeds what the bare schema provides.

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

Purpose5/5

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

The description states a specific action: post-processing already downloaded albums into Zip, PDF, or long images. This clearly distinguishes it from download-related siblings like download_album and download_photo, and the output formats make the tool's purpose concrete.

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?

The phrase '已下载的本子' implies the tool should be used after an album has been downloaded, but there is no explicit guidance on when not to use it or which sibling tool to choose instead. Usage context is implied rather than stated.

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