Skip to main content
Glama

独行录 / opcmenu

建周期任务规则

create_task_series

登录;建目标周期任务:WEEKLY须weekday1~7,MONTHLY须monthday、超当月取月末,日期按北京YYYY-MM-DD。assigneeId须合作人、缺省本人,派他人会通知。generated本次期数;改update_task_series/停stop_task_series。

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": {
      "goalId": "<goalId>",
      "title": "<title>",
      "freq": "<freq>"
    },
    "name": "create_task_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
freqYes
titleYes
detailNo
goalIdYes
endDateNo排到哪天为止(含),YYYY-MM-DD;null/不传=不设终点
weekdayNo
monthdayNo
startDateNo从哪天开始排,YYYY-MM-DD(北京时);不传=今天
assigneeIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

在仅有 destructiveHint=false 的注解之外,补充了多个行为特征:需要先登录、assigneeId 缺省为本人、派给他人会触发通知、monthday 超过当月天数时取月末。这些是有价值的上下文,但没有说明重复创建同一规则时如何处理,也没有说明返回内容或失败形态。

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?

以分号分隔的短句承载了前提、频率约束、参数规则和替代工具,信息密度高且前置关键约束,无明显冗余。但电报式堆叠使阅读者需要逐段解析,略影响可读性。

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

Completeness5/5

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

对于一个 9 参数、无输出 schema、schema 描述覆盖低的写操作工具,描述已覆盖登录前提、频率分支约束、日期时区格式、默认派发行为与副作用通知,并解释了返回字段 generated 表示本次生成的期数。同时给出 update/stop 的分流路径,足以支撑正确调用。

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 描述覆盖率仅 22% 的情况下,描述补齐了关键参数的含义:WEEKLY 必须传 weekday(1~7),MONTHLY 必须传 monthday 且超过当月天数时取月末,日期一律按北京时区 YYYY-MM-DD,assigneeId 必须是合作人且缺省为本人。goalId、title、detail 的语义仍未补充,因此未达到满分。

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?

明确使用了动词和资源「建目标周期任务」,并把该操作限定为目标下的「周期任务规则」,从而与普通的一次性任务创建工具区分开。

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?

明确把修改交给 update_task_series,把停止交给 stop_task_series,并按 freq 枚举说明 WEEKLY、MONTHLY 各自的前置条件。不足之处在于,没有说明何时应创建一次性任务,而应创建周期系列,也没有说明何时不应使用本工具。

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.

Resources