ISO Week Number
Server Details
ISO 8601 week numbers: date to week, week to date, weeks-per-year.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
1 toolrunISO Week NumberARead-onlyInspect
Converts between calendar dates and ISO 8601 week numbers, in either direction, and reports how many weeks an ISO year has.
Use this whenever a date needs to be expressed as a week number, or a week number needs to be turned back into a date — sprint planning, report periods, "week 37" style scheduling, or reconciling two systems that disagree about what week it is.
DO NOT compute this yourself with day-of-year divided by 7. ISO 8601 week 1 is defined as the week (Monday-Sunday) containing the year's first Thursday, not the week containing January 1st. This has two consequences that are easy to get wrong from memory: late-December dates can belong to ISO week 1 of the NEXT calendar year, and early-January dates can belong to ISO week 52 or 53 of the PREVIOUS calendar year. A year has 53 ISO weeks (not the usual 52) exactly when January 1 is a Thursday, or the year is a leap year and January 1 is a Wednesday — a rule nobody carries around, and getting it wrong produces a plausible-looking but incorrect week number with no visible sign of the error.
Input is a single string, and the shape of the string picks the operation: "2027-01-01" a calendar date (YYYY-MM-DD) -> returns its ISO year, week, and weekday "2026-W53" an ISO week, no weekday given -> returns the Monday of that week "2026-W53-5" an ISO week and weekday (1-7, Mon-Sun) -> returns that exact date "2026" a bare 4-digit year -> returns whether it has 52 or 53 ISO weeks
Refuses rather than guesses: slash-separated dates like "03/04/2025" are rejected as ambiguous (month/day vs day/month), two-digit years are rejected as a guess, invalid calendar dates (Feb 30) are rejected, and a week number beyond what that ISO year actually has (e.g. week 53 of a 52-week year) is rejected and told how many weeks that year has.
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | A calendar date "YYYY-MM-DD" (e.g. "2027-01-01"), an ISO week "YYYY-Www" or "YYYY-Www-D" where D is 1-7 for Monday-Sunday (e.g. "2026-W53-5"), or a bare 4-digit year (e.g. "2026") to ask how many ISO weeks it has. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnlyHint annotation, the description comprehensively discloses edge-case behavior: late-December and early-January year rollovers, the 52/53-week rule, and strict rejection of ambiguous or invalid inputs. It also clarifies that the tool 'refuses rather than guesses', giving the agent accurate expectations for failure modes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but every section earns its place: statement of purpose, usage guidance, the non-obvious ISO rule, accepted input shapes with return behavior, and rejection semantics. It is front-loaded with the core conversion function and structured so the agent can quickly extract the essential contract.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter function with no output schema, the description fully specifies inputs, outputs, edge cases, and failure behavior. The only thing it omits is a formal output structure, but the per-input return descriptions make that unnecessary for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although the schema already documents the single 'input' parameter at 100% coverage, the description adds substantial meaning: it explains that the input string's shape selects the operation, shows the exact accepted formats, and details what each format returns (e.g., Monday of the week, exact date, or whether the year has 52/53 weeks). This far exceeds schema-level documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise verb and resource: converting between calendar dates and ISO 8601 week numbers in either direction, plus reporting week counts per ISO year. It clearly defines the tool's operation and does not rely on the title or name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states exactly when to use the tool ('Use this whenever a date needs to be expressed as a week number...') and provides concrete contexts like sprint planning and report periods. It also warns against a plausible but incorrect alternative approach (day-of-year divided by 7), which actively steers the agent away from error.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
- First observed
run
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user, then choose Claim with GitHub. An organization namespace such asio.github.acme/serveralso needs that organization to have installed the Glama AI GitHub App and approved its permissions, because GitHub discloses organization membership only to apps it has installed. Use HTTP or DNS when it has not.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.
Deterministic date arithmetic with auditable receipts: business days, due dates, holidays.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides week and calendar helper tools for converting between dates and ISO weeks, performing week arithmetic, and looking up weekday names.-

mcp-durationofficial
AlicenseNot gradedqualityCmaintenanceEnables parsing of ISO 8601 duration strings into components and seconds, and formatting seconds into ISO 8601 and human-readable forms.16MIT- AlicenseAqualityAmaintenanceProvides Japanese national holidays, wareki (era) conversion, and date information. Works fully offline with no API keys required.4MIT
- FlicenseNot gradedqualityDmaintenanceConverts between East Asian lunisolar calendars (Chinese, Japanese, Korean, Vietnamese) and Gregorian/Julian dates using Julian Day Numbers. Provides MCP tools for date conversion and era search.1-
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
With only one tool, there is no possibility of confusion or misselection. The single tool has a clearly defined purpose and its polymorphic input parsing makes each operation unambiguous.
With only one tool there is nothing to be inconsistent with, but the name 'run' is extremely generic and gives no hint of the ISO week domain. It does not follow a descriptive verb_noun convention, though this is mitigated by the exhaustive description.
A single tool for a narrow, well-defined domain is slightly thin but earned its place: it handles all four conversion directions through input-shape dispatch. Splitting into multiple tools would add ceremony without expanding capability.
The tool covers the full domain surface: date to ISO week, ISO week to Monday, ISO week with weekday to exact date, and year to week-count. It also rejects ambiguous or invalid inputs rather than guessing, so there are no dead ends or missing operations for the stated purpose.