Skip to main content
Glama

Balance Engine · Deterministic Time Layer

Activity window · 活动窗口

activity_window

This tool looks up a deterministic rules engine. Same day → same answer. Do not invent pillars. Call when the user asks 今天什么时候适合运动 / 今天哪个时辰适合深工 / 什么时候开会 / 什么时候练 / 什么时候发版 / 什么时候该休息 / activity window / when to exercise. Maps month posture × twelve hours × body load to 2–3 clock windows for task=deep_work|train|meet|ship|rest. Windows are suggested slots, not a guarantee. Not meds, not glucose, not a diagnosis. Public · local · no API key.

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

Input Schema

NameRequiredDescriptionDefault
dateNoDate YYYY-MM-DD. Default: today in Asia/Shanghai. Use when the user asks about a specific day.
taskNoWhat to place: deep_work (default), train, meet, ship, rest.
localeNoReply language. zh (default) or en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 load and does well: deterministic behavior ('Same day → same answer'), the 2–3 window output shape, an explicit non-guarantee caveat, and operational facts (public, local, no API key). It does not describe the window format itself (clock times, ordering, tie-breaking), which keeps it from 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose ('Maps month posture × twelve hours × body load to 2–3 clock windows') is buried behind an opening line about a 'deterministic rules engine', and 'Do not invent pillars' is unexplained filler. The trigger list is long but genuinely functional, so the waste is moderate rather than severe.

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 3-param, no-output-schema tool, the description supplies determinism, output shape, disclaimers, and invocation context. It leaves 'month posture' and 'body load' undefined as internal inputs the agent cannot set, which is a minor gap but not blocking.

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 100%, so date, task, and locale are already fully documented in the schema. The description reinforces the task enumeration and default emphasis, but adds nothing about locale or date defaults beyond the schema. Baseline 3 applies.

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 states a concrete verb and resource: it maps month posture × twelve hours × body load to 2–3 clock windows for a given task enum. That is specific enough to distinguish it from sibling rhythm/date tools. It stops short of naming a sibling it should be preferred over, so it does not reach 5.

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 explicit trigger phrases in both Chinese and English (when to exercise, when to deep-work, when to ship, etc.) and scope exclusions ('Not meds, not glucose, not a diagnosis'). It never names an alternative tool to use instead for adjacent cases, so it falls short of full when/when-not routing.

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