Skip to main content
Glama

Plumbkit

Server Details

Exact utilities for agents: time zones, date math, business days, calculator, units, validation.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

16 tools
business_daysBusiness day calculator
Read-onlyIdempotent
Inspect

Works with business (working) days. mode "add": returns the date N business days after start_date (start_date itself is not counted; negative N goes backward; 0 returns start_date, or the next business day if start_date is not one). mode "count": counts business days from start_date to end_date, including both ends. Weekends default to Saturday and Sunday. Public holidays are NOT built in — pass them in "holidays".

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNoBusiness days to add (mode "add")
modeYes"add" or "count"
weekendNoWeekend days as ISO weekday numbers (1=Monday ... 7=Sunday). Default [6, 7]. Example for Friday-Saturday weekends: [5, 6]
end_dateNoYYYY-MM-DD (mode "count")
holidaysNoDates (YYYY-MM-DD) to treat as non-working days
start_dateYesYYYY-MM-DD
calculateExact calculator
Read-onlyIdempotent
Inspect

Evaluates an arithmetic expression exactly, so you don't have to do mental math. Supports + - * / % ^ (or **), parentheses, constants pi/e/tau and functions: sqrt, cbrt, abs, round(x, digits), floor, ceil, trunc, sign, ln, log(x[, base]), log10, log2, exp, pow, sin, cos, tan, asin, acos, atan, atan2, min, max, hypot, factorial. Trig uses radians. Example: "(1250 * 1.08^5) - 1250".

ParametersJSON Schema
NameRequiredDescriptionDefault
decimalsNoOptional: round the result to this many decimal places
expressionYesThe expression to evaluate
convert_timezoneConvert time zones
Read-onlyIdempotent
Inspect

Converts a date/time from one time zone to another, correctly handling daylight saving time. If the input already includes an offset or 'Z', from_timezone is ignored.

ParametersJSON Schema
NameRequiredDescriptionDefault
datetimeYesDate/time in ISO 8601 (e.g. "2026-03-08T14:30", "2026-03-08T14:30:00Z", "2026-03-08"), "YYYY-MM-DD HH:mm", a Unix timestamp in seconds or milliseconds, or "now".
to_timezoneYesIANA time zone name, e.g. "America/New_York", "Europe/London", "Asia/Tokyo", or "UTC". Fixed offsets like "UTC+5:30" also work.
from_timezoneNoIANA time zone name, e.g. "America/New_York", "Europe/London", "Asia/Tokyo", or "UTC". Fixed offsets like "UTC+5:30" also work. Defaults to UTC.
convert_unitsUnit converter
Read-onlyIdempotent
Inspect

Converts a value between units of length, mass, volume (US and imperial), area, speed, time, digital data (KB vs KiB, bits vs bytes), energy, pressure and temperature. Accepts common abbreviations (km, lb, fl oz, mph, °F, GiB). US customary units are used for cup/pint/quart/gallon unless you say imperial.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesUnit to convert to, e.g. "km", "kg", "celsius", "GiB"
fromYesUnit to convert from, e.g. "mi", "pound", "°F", "GB"
valueYesThe number to convert
current_timeCurrent date and time
Read-only
Inspect

Returns the exact current date, time, weekday and UTC offset in any time zone. Use this whenever you need to know today's date or the current time instead of guessing — your training data does not know what day it is.

ParametersJSON Schema
NameRequiredDescriptionDefault
timezoneNoIANA time zone name, e.g. "America/New_York", "Europe/London", "Asia/Tokyo", or "UTC". Fixed offsets like "UTC+5:30" also work.UTC
date_addAdd or subtract time
Read-onlyIdempotent
Inspect

Adds or subtracts a duration (years, months, weeks, days, hours, minutes, seconds) to a date/time. Use negative numbers to subtract. Calendar-aware: adding 1 month to Jan 31 gives Feb 28/29, and adding days keeps the same local clock time across daylight-saving changes.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNodays to add (negative to subtract)
hoursNohours to add (negative to subtract)
weeksNoweeks to add (negative to subtract)
yearsNoyears to add (negative to subtract)
monthsNomonths to add (negative to subtract)
minutesNominutes to add (negative to subtract)
secondsNoseconds to add (negative to subtract)
datetimeYesDate/time in ISO 8601 (e.g. "2026-03-08T14:30", "2026-03-08T14:30:00Z", "2026-03-08"), "YYYY-MM-DD HH:mm", a Unix timestamp in seconds or milliseconds, or "now".
timezoneNoTime zone the arithmetic happens in. IANA time zone name, e.g. "America/New_York", "Europe/London", "Asia/Tokyo", or "UTC". Fixed offsets like "UTC+5:30" also work. Defaults to UTC.
date_diffTime between two dates
Read-onlyIdempotent
Inspect

Calculates the exact time between two dates/times: a calendar breakdown (years, months, days, hours, minutes, seconds) plus totals in days, hours, minutes and seconds, and the number of calendar days. Negative if end is before start.

ParametersJSON Schema
NameRequiredDescriptionDefault
endYesDate/time in ISO 8601 (e.g. "2026-03-08T14:30", "2026-03-08T14:30:00Z", "2026-03-08"), "YYYY-MM-DD HH:mm", a Unix timestamp in seconds or milliseconds, or "now".
startYesDate/time in ISO 8601 (e.g. "2026-03-08T14:30", "2026-03-08T14:30:00Z", "2026-03-08"), "YYYY-MM-DD HH:mm", a Unix timestamp in seconds or milliseconds, or "now".
timezoneNoTime zone for inputs without an offset. IANA time zone name, e.g. "America/New_York", "Europe/London", "Asia/Tokyo", or "UTC". Fixed offsets like "UTC+5:30" also work. Defaults to UTC.
hash_textHash and encode text
Read-onlyIdempotent
Inspect

Computes a cryptographic hash (SHA-1, SHA-256, SHA-384, SHA-512) of text, or encodes/decodes it as Base64, Base64URL, hex or URL-encoding. Text is treated as UTF-8.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYes
operationYes
json_repairFix broken JSON
Read-onlyIdempotent
Inspect

Turns almost-JSON into valid JSON: removes markdown code fences, comments and trailing commas, adds missing quotes, commas and closing brackets, converts single quotes, Python True/False/None and truncated output. Returns the repaired JSON string and whether the input was already valid.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe broken JSON text
prettyNoIndent the output. Default false.
json_schema_validateValidate JSON against a schema
Read-onlyIdempotent
Inspect

Checks a JSON value against a JSON Schema (drafts 4, 7, 2019-09 and 2020-12) and lists every violation with its location. Use it to confirm structured output or an API payload is correct before sending it. data and schema may be JSON values or JSON strings.

ParametersJSON Schema
NameRequiredDescriptionDefault
dataYesThe JSON value to check (any type), or a JSON string of it
draftNoDefault 2020-12
schemaYesThe JSON Schema (object), or a JSON string of it
regex_testTest a regular expression
Read-onlyIdempotent
Inspect

Runs a JavaScript regular expression against text and returns every match with its position and capture groups, or the text after replacement. Use it to verify a regex actually works before relying on it.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYes
flagsNoOptional flags: i (ignore case), m (multiline), s (dotall), u (unicode), y (sticky). Global matching is always on.
patternYesRegex pattern without slashes, e.g. "(\\d{3})-(\\d{4})"
max_matchesNoDefault 100
replace_withNoOptional replacement string ($1, $<name> supported). If set, returns the replaced text too.
text_statsCount characters, words and lines
Read-onlyIdempotent
Inspect

Counts exactly what language models are bad at counting: characters (as humans see them), words, lines, sentences, paragraphs, UTF-8 bytes, and occurrences of a letter or substring (e.g. how many "r" in "strawberry"). Use it to check length limits (tweets, SMS, meta descriptions, form fields) before submitting text.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe text to analyze
countNoOptional letter, word or substring to count occurrences of
overlappingNoFor `count`: count overlapping matches ("aa" in "aaa" = 2). Default false.
case_sensitiveNoFor `count`. Default false.
validate_emailValidate an email address
Read-onlyIdempotent
Inspect

Checks whether an email address is correctly formatted and returns a normalized version. Set check_dns=true to also confirm the domain exists and can receive mail (MX records). Does not send email and cannot confirm that a specific mailbox exists.

ParametersJSON Schema
NameRequiredDescriptionDefault
emailYes
check_dnsNoAlso look up the domain's mail servers. Default false.
validate_ibanValidate an IBAN
Read-onlyIdempotent
Inspect

Validates an International Bank Account Number: country, length for that country, and the mod-97 check digits. Returns electronic and printed formats. A valid IBAN is correctly formed; this does not confirm the account exists.

ParametersJSON Schema
NameRequiredDescriptionDefault
ibanYes
validate_phoneValidate and format a phone number
Read-onlyIdempotent
Inspect

Validates a phone number using Google's libphonenumber rules and returns it in E.164 (+14155552671), international and national formats, plus the country and line type (mobile, fixed line, toll free...). For numbers without a +country code, pass default_country.

ParametersJSON Schema
NameRequiredDescriptionDefault
phoneYes
default_countryNoTwo-letter country code used when the number has no "+" prefix, e.g. "US", "GB", "DE"
validate_urlValidate and normalize a URL
Read-onlyIdempotent
Inspect

Checks that a URL is well-formed, normalizes it (lowercase host, punycode, default ports removed, spaces encoded) and splits it into parts including each query parameter. Flags common problems such as missing scheme, private/localhost addresses and credentials embedded in the URL. Does not fetch the URL.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYes
require_httpsNoTreat http:// as invalid. Default false.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 16 tool updates
    • First observedbusiness_days
    • First observedcalculate
    • First observedconvert_timezone
    • First observedconvert_units
    • First observedcurrent_time
    • First observeddate_add
    • First observeddate_diff
    • First observedhash_text
    • First observedjson_repair
    • First observedjson_schema_validate
    • First observedregex_test
    • First observedtext_stats
    • First observedvalidate_email
    • First observedvalidate_iban
    • First observedvalidate_phone
    • First observedvalidate_url

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides exact, deterministic tools for math, dates, units, validation, and more to AI agents, returning precise answers with explicit assumptions and warnings instead of model guesses.
    MIT
  • F
    license
    A
    quality
    A
    maintenance
    Enables AI agents to perform deterministic date, time, timezone, holiday, and business-day arithmetic through MCP, including elapsed-time and calendar-aware operations that skip weekends and supported official holidays.
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    Provides accurate time zone conversions, DST-safe scheduling, holidays for 200+ countries, business day calculations, and cross-zone meeting slot suggestions.
    5
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to perform accurate local computations including arbitrary-precision math, date handling, unit conversion, subnet calculations, encoding, hashing, and text analysis, all without network calls or API keys.
    27
    128 npm
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources