Skip to main content
Glama

分页查询任务列表

list_jobs

List XXL-JOB tasks paginated, filtering by executor group, schedule status, job description, JobHandler, or responsible person.

Instructions

分页查询 XXL-JOB 任务列表,支持按执行器组、调度状态(0=停止/1=运行中)、任务描述、JobHandler、负责人过滤。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始
authorNo负责人过滤
jobDescNo任务描述模糊匹配
jobGroupNo执行器组 id(可用 list_job_groups 查询)
pageSizeNo每页条数
triggerStatusNo调度状态:0=停止,1=运行中
executorHandlerNoJobHandler 名称过滤
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that this is a read-only query operation ('查询') and that it is paginated ('分页'), which is useful. It does not add deeper behavioral context like permission requirements, result ordering, or total-count behavior, and it largely repeats the filter options already present 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.

Conciseness5/5

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

The description is a single compact sentence that front-loads the core purpose and then enumerates the filter options. It is minimal and contains no redundant information.

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 list tool with no output schema, the description adequately conveys the core purpose and filter capabilities. It does not describe the response structure, but 'list tasks' makes the output obvious. Given the tool's simplicity and the schema covering parameter details, it is sufficiently complete.

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% (all 7 parameters have descriptions), so the baseline is 3. The description lists the same filter categories (executor group, status, task description, JobHandler, author) but does not provide additional semantic value beyond what the schema already defines.

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 begins with '分页查询 XXL-JOB 任务列表' (paged query of XXL-JOB task list), which clearly states the verb (query), resource (task list), and pagination aspect. It also lists specific filter criteria, distinguishing it from sibling tools like get_job (single job) and list_job_groups (executor groups).

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

Usage Guidelines4/5

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

The description implies its use case by stating it supports filtering by various criteria, making it clear this is the general list/query tool. However, it does not explicitly mention alternatives or provide when-not-to-use guidance, such as pointing to get_job for single-job retrieval.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shaguocgl/mcp-xxl-job'

If you have feedback or need assistance with the MCP directory API, please join our Discord server