Skip to main content
Glama
Takahashi-Kenji

hamlog-mcp

qso_stats

Read-onlyIdempotent

Aggregate contact counts by band, mode, year, month, hour, callsign, JCC, prefecture, or gridsquare, using flexible HAMLOG filters for date, band, mode, and QSL status.

Instructions

交信数を指定した軸で集計する。

絞り込み条件は search_qso と同じものが使える。 group_by の意味: band/mode バンド別・モード別 year/month 年別・月別 hour 時間帯別 (交信時刻の時。ログの時刻が JST か UTC かに依存) call 相手局別 (よく交信している局) jcc JCC/JCG コード別 prefecture JCC 上 2 桁別 (都府県名は award_progress のほうが読みやすい) gridsquare グリッドロケータの上 4 桁別

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
bandNo
modeNo
date_toNo
callsignNo
group_byNoband
qsl_rcvdNo
date_fromNo
jcc_prefixNo
qth_containsNo
name_containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds a genuine behavioral caveat: the 'hour' axis depends on whether stored log times are JST or UTC, which the agent could not infer elsewhere. It does not describe the return shape, but no output schema exists and the axis list partially compensates.

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?

Front-loads the purpose in one short sentence, then a compact bulleted list of group_by meanings. Minimal waste, though the parenthetical about award_progress and the JST/UTC aside slightly interrupt the list flow.

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

Completeness3/5

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

For an 11-parameter tool with no schema descriptions and no output schema, the description covers group_by well and delegates filters to search_qso, but never explains the top limit, default behavior, or output format. Adequate but not fully sufficient for correct invocation.

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 0% across 11 parameters, so the description must carry the load. It fully explains group_by values and delegates the filter parameters ('same as search_qso'), which is useful but indirect. Core parameters like top (result limit), date_from/date_to and qsl_rcvd receive no direct explanation, leaving real gaps.

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?

States a specific verb and resource ('集計する' on 交信数) and enumerates the aggregation axes, so the agent knows exactly what the tool produces. It also differentiates from siblings by naming search_qso (shared filters) and award_progress (better for reading prefecture names).

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?

Clearly implies the aggregation use case and explicitly routes one scenario (prefecture names) to award_progress. However, it never states when NOT to use this versus search_qso, only that they share filter semantics, so the boundary is left partly implicit.

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