Skip to main content
Glama

Agent Toolkit (all-in-one)

Local time, time zone, DST, weekend days and business hours for any point on Earth, plus working-day counts

local_time_and_working_days

[Location Toolkit] From coordinates, a Plus Code, DIGIPIN or Indian PIN: the IANA time zone, local date and time, UTC offset, whether daylight saving is active, the country's weekend days (e.g. Friday-Saturday in Saudi Arabia, Sunday only in Nepal), whether it is business hours now and when the next business day opens (local and UTC). Optional: count working days between two dates, or add N working days to a date (deadlines, delivery estimates, SLAs). Public holidays are not included. Price 0.001 USDC per call; first 3 calls per day free.

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

Input Schema

NameRequiredDescriptionDefault
atNoOptional ISO date-time to convert instead of now, e.g. 2026-12-01T15:00:00Z
latNoLatitude. Use with lng.
lngNoLongitude. Use with lat.
codeNoInstead of lat/lng: Plus Code, DIGIPIN or 6-digit Indian PIN
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
end_dateNoOptional YYYY-MM-DD: count working days from start_date to end_date
open_hourNoBusiness opening hour (default 9)
close_hourNoBusiness closing hour (default 17)
start_dateNoOptional YYYY-MM-DD (default: today local)
add_working_daysNoOptional: add this many working days to start_date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description does disclose useful behavior: pricing at 0.001 USDC per call, the first 3 calls per day free, exclusion of public holidays, and the broad fields returned. It leaves important behavior unstated: all parameters are optional, but it does not say what happens when no location input is supplied, whether there is a default location, or how errors are handled. That makes it adequate but not fully transparent for a no-annotation tool.

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 description is front-loaded with the returned information, then covers optional working-day modes, limitations, and pricing. For a ten-parameter tool it is dense and mostly earns its length, though the bracketed toolkit prefix is unnecessary and the paragraph is somewhat run-on. Minor trimming would improve it, but the structure is clear.

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?

There is no output schema and no annotations, so the description must carry return-value and behavioral context; it does list the key return fields and optional working-day modes. The main completeness gap is that all parameters are optional, yet the description does not explain what the tool returns when called with no location input or whether a default location exists. Given the tool's complexity, this is a meaningful omission.

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 the input schema already documents all ten optional parameters, including coordinate, code, date, open/close hour, payment, and working-day fields. The description adds plain-language context for the working-day mode and the public-holiday limitation, but it largely restates parameter meanings already present in the schema. A baseline score of 3 is appropriate when the schema does most of the parameter documentation.

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 specific resource set: IANA time zone, local date/time, UTC offset, DST status, weekend days, business-hours status, next business-day open, and optional working-day counts. It names accepted location inputs (coordinates, Plus Code, DIGIPIN, Indian PIN), so an agent can identify the core purpose. It stops short of distinguishing this tool from siblings such as business_check or india_pincode_lookup, so sibling routing is not explicit.

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 gives use-case examples for the optional working-day feature (deadlines, delivery estimates, SLAs) and a clear boundary that public holidays are not included. However, it does not say when to choose this tool over siblings like business_check or india_pincode_lookup, nor when not to use it. Usage is implied by the feature list rather than stated as explicit selection guidance.

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.