Skip to main content
Glama

selftest

Validates long-running task governance with nine itemized checks—dispatch, progress, acceptance, checkpoints, and concurrency—and reports pass/fail results, flagging sandbox fork failures as environment limits.

Instructions

跑九枢长任务全量自测(9 项检查:派发/进度/验收/断点/并发等), 返回逐项结果。沙箱等受限环境中 fork 并发检查可能 FAIL(环境限制,非代码缺陷)。

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": "selftest"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the whole behavioral burden. It does add real value by pre-empting a false failure (the fork concurrency check may FAIL in sandboxes, and that is environmental, not a defect) and by saying results are returned per item. It omits what callers most need for a full-suite test: rough runtime, whether the checks dispatch real tasks or otherwise mutate state, and whether concurrency forks are spawned.

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?

Two sentences, front-loaded with the action and scope, then the caveat. The parenthetical check list and the FAIL warning both earn their space; there is no filler or repetition of the tool name.

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?

An output schema exists, so return values need not be spelled out, and the description still notes per-item results. With zero parameters and a simple trigger, the only real gap against its complexity is the absence of any runtime or side-effect expectation for a 'full' self-test.

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?

Zero parameters, which is the baseline-4 case; there is no parameter meaning to add and the description correctly says nothing about inputs.

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?

A specific verb (run/跑) plus a named artifact (九枢长任务全量自测) and an explicit scope: 9 enumerated checks (dispatch/progress/acceptance/checkpoint/concurrency). Nothing about it can be confused with the memory_* or task_* siblings, which are record-level operations; this is a whole-suite diagnostic.

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?

Usage is only implied by the name and the word 自测 — an agent can infer it is a diagnostic/verification call, but the description never states when to run it (e.g. before release, after config change) or when not to. No alternatives are named, though the sibling set makes a substitute unlikely.

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