Skip to main content
Glama
thread-kanban
by 53able

kanban_metrics

Computes flow metrics for a Kanban board over a date range, including lead/cycle times, throughput, blockers, due-date compliance, failure demand, WIP violations, and CFD.

Instructions

期間のフローメトリクス: リードタイム(inbox 入り〜done)とサイクルタイム(doing 入り〜done)の中央値・85 パーセンタイル(日)、週次スループット(月曜始まり UTC)、ブロック件数と延べ日数、期限遵守率、failure demand 比率(defect)、破棄件数、WIP 違反件数、日別・列別の CFD。既定は直近 30 日、最長 366 日。

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

Input Schema

NameRequiredDescriptionDefault
toNo終了(YYYY-MM-DD はその日の終わり、ISO 8601 も可)。既定は現在
fromNo開始(YYYY-MM-DD は UTC の 0 時、ISO 8601 も可)。既定は to の 30 日前

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the default reporting window, the hard 366-day cap, and the Monday-start UTC weekly bucketing convention, and it effectively serves as the return-value spec since there is no output schema. It does not state explicitly that this is a read-only aggregation with no side effects, nor anything about cost on large ranges.

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?

A single dense sentence plus a short constraint clause, with the default and cap front-loaded at the end where they are easy to find. The metric enumeration is long but every item earns its place because no output schema exists to carry that 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 read-only aggregation tool with no output schema, enumerating the returned metrics is the essential content and it is present, along with the time-window bounds. Only minor gaps remain: nothing about behavior on empty ranges, response size, or explicit read-only semantics.

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 coverage is 100% and both parameters already document the YYYY-MM-DD vs ISO 8601 handling and defaults, so the baseline would be 3. The description adds a constraint not present in the schema — the 366-day maximum span — and restates the 30-day default, which is genuine added meaning for the from/to pair.

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

Purpose4/5

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

The description names a specific resource (flow metrics over a period) and enumerates exactly what is computed: lead time, cycle time, weekly throughput, blocked counts, due-date compliance, failure demand ratio, discarded cards, WIP violations and a daily/per-column CFD. The computing verb is only implicit, but no sibling tool in the catalog overlaps with metrics, so the scope is unambiguous.

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?

It states the default window (last 30 days) and an upper bound (maximum 366 days), which is useful usage context. It does not say when to prefer this over drilling into a board or card, nor what happens with empty or out-of-range periods — usage is implied rather than directed.

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