Skip to main content
Glama

Dhamma.Gift — Pāli Canon

uposatha

Uposatha days by the Suttas (the 8th, 14th/15th of each half-month, by the real moon) for the next N days at a place, the same engine as dhamma.gift/uposatha-calendar, the Uposatha app and the Telegram bot. The day runs from sunset to sunset at the place: each row gives its begin (sunset of the eve), dawn, noon and end times. Without coordinates: Bodh Gaya. Give lat/lon and the IANA time zone of the user's city for local times.

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

Input Schema

NameRequiredDescriptionDefault
tzNoIANA time zone of the place, e.g. "Asia/Bangkok". Needed with lat/lon.
latNoLatitude of the place.
lonNoLongitude of the place.
daysNoHow many days ahead. Default: 30.
langNoLanguage of the day names. Default: en.
placeNoName of the place, echoed back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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 most of it: it discloses the computation basis, the sunset-to-sunset day boundary, and exactly which fields each row carries (begin, dawn, noon, end). It stops short of stating explicitly that the call is a pure read with no side effects, or what happens on an invalid time zone.

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?

The lead sentence is front-loaded with the resource and scope, followed by day-boundary semantics, then defaults, then the coordinate instructions. The only soft spot is the name-drop of the calendar site, app, and Telegram bot, which signals consistency of output but does not help an agent decide or call.

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

Completeness5/5

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

There is no output schema, yet the description fully specifies the return shape and time semantics, and it covers the optional-coordinate path. Nothing an agent needs in order to call this correctly and interpret the result is missing.

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 already 100%, so the baseline is 3, and the description adds real meaning on top: the dependency between lat/lon and tz for local times, and the default location when coordinates are omitted. The 'N days' phrasing maps to the days parameter and the echoed place name is implied by 'at a place'.

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 (Uposatha days by the Suttas) with concrete scope ('the 8th, 14th/15th of each half-month, by the real moon') and a concrete output horizon ('next N days at a place'). It is unmistakable which sibling it is not, though it never explicitly contrasts itself with nearby 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 calling context: without coordinates it falls back to Bodh Gaya, and to get local times you supply lat/lon plus the IANA time zone. There are no when-not-to-use exclusions, but no plausible competing tool exists in this catalog, so the missing exclusions cost little.

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.