Skip to main content
Glama
天机气象 · 电力提示 MCP

天机气象 · 电力提示 MCP

by txZheng

daily_summary

Aggregates hourly forecasts into daily weather tables for a location and period, covering temperature, humidity, wind, rain and irradiance, with optional wind/PV daily energy and capacity factors.

Instructions

逐日汇总:把窗口按自然日聚合成日表(温度/湿度/风速/辐照/云量/降水),首/末日不足整天时 span 会标注实际时段;降水是小时率,日量按逐时求和。kind=general 仅气象;kind=wind / pv / both 附加逐日理论电量、容量因子与零出力小时(演示模型,非功率预测,参数口径同 theoretical_power)。period 支持人话时段(未来3天 / 明天 / 2026-12-01~2026-12-03),留空则从现在起 hours 小时。复用同一份缓存,同坐标的后续提问不额外消耗额度。

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": {
      "location": "<location>"
    },
    "name": "daily_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNo
kindNogeneral
curveNo
hoursNo
ratedNo
t_resNo1h
cut_inNo
periodNo
cut_outNo
locationYes
tilt_gainNo
hub_heightNo
capacity_mwNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full load and does so well: it discloses that partial first/last days are flagged via span, that precipitation is an hourly rate summed to a daily total, that the energy figures come from a demonstration model and are not a power forecast, and that results share a cache so repeated questions at the same coordinates do not consume extra quota.

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?

It is front-loaded with the core behavior and every clause carries information, with no filler. The single dense paragraph of semicolon-joined clauses is harder to scan than a short structured breakdown would be, given how much behavior it packs in.

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 13-parameter, no-annotation, no-output-schema tool it covers the essentials: what a row contains, mode-dependent extra fields, caveats about the model, time-window semantics and quota behavior. The main remaining gap is that output shape is only enumerated in passing and the physics parameters are handled by cross-reference.

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 description coverage is 0% across 13 parameters, so the description must compensate, and it adds real meaning for the key ones: period accepts natural-language ranges with an empty value falling back to the next hours hours, and kind enumerates its meaningful values. For the remaining physics parameters it delegates to theoretical_power ('parameters follow the same convention'), which is a useful pointer but forces a second lookup rather than explaining rated, hub_height, pr, tilt_gain or curve directly.

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 states a specific verb and resource: aggregate a time window by natural day into a daily table, and it enumerates the columns produced (temperature/humidity/wind/irradiance/cloud/precipitation). It also distinguishes the kind modes so the agent knows what varies by mode, which is enough to tell this apart from the sibling snapshot/power 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?

It gives clear context for choosing between modes (kind=general for meteorology only; wind/pv/both for theoretical energy, capacity factor and zero-output hours) and explains period input forms including the default when left empty. It does not explicitly exclude cases or name which sibling to use for a plain current-conditions or power question, so it stops short of full when/when-not guidance.

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