Get Week of Year
get_week_yearReturns the week and ISO week number for a given date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date to check. e.g., "2025-03-23" |
get_week_yearReturns the week and ISO week number for a given date.
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date to check. e.g., "2025-03-23" |
Changes observed during successful MCP inspections.
Input schema / $schemaRemoved value: -"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesRemoved value: -falseInput schema / properties / date / descriptionPrevious value: -"The date to check (e.g., \"2025-03-23\"). Defaults to current date"New value: +"The date to check. e.g., \"2025-03-23\""Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "isoWeek": {
- "type": "integer"
- },
- "week": {
- "type": "integer"
- }
- },
- "required": [
- "week",
- "isoWeek"
- ],
- "type": "object"
-}New value: +nullInput schema / $schemaAdded value: +"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesAdded value: +falseInput schema / properties / date / descriptionPrevious value: -"The date to check. e.g., \"2025-03-23\""New value: +"The date to check (e.g., \"2025-03-23\"). Defaults to current date"Output schema / (root)Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "isoWeek": {
+ "type": "integer"
+ },
+ "week": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "week",
+ "isoWeek"
+ ],
+ "type": "object"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does signal a pure read/compute operation returning two values. However, it never resolves the ambiguity between 'the week' and 'the ISO week number' (are these two different numbering schemes?), nor does it mention boundary behavior at year edges where ISO weeks diverge from locale weeks. Modest disclosure for a low-risk tool, but the key semantic ambiguity is left open.
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?
A single front-loaded sentence with no filler; the resource and return values come first and nothing is redundant.
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?
The tool is simple and the description covers the core behavior, but the context signals show 0 required parameters, meaning 'date' is optional, and the description says 'for a given date' without stating what happens when it is omitted (today? error?). That is a real operational gap for a parameter the description implies is needed.
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?
Schema coverage is 100% and the schema already documents the date parameter with a concrete format example ('2025-03-23'), so the description adds nothing beyond it. Baseline 3 applies when the schema does the heavy lifting.
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?
States a specific verb and resource ('Returns the week and ISO week number for a given date'), so an agent can tell it computes a calendar-derived value rather than returning the current time like current_time or a raw epoch like get_timestamp. It does not explicitly name or contrast with any sibling, so it falls short of 5.
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?
There is no when-to-use guidance, no mention of when to prefer this over current_time, relative_time, or convert_time, and no prerequisites stated. The agent must infer the use case entirely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.