Title99/100
Calculate pregnancy week
The title clearly communicates the tool’s action and subject. Keep it concise.
Description85/100
Calculate the current pregnancy week, due date, trimester, and baby's fruit-size comparison from the last menstrual period or a known due date, and display it on an interactive pregnancy wheel
The description explains the capability, when to use it, and what to expect.
Inputs81/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
lastPeriodDate
First day of the last menstrual period, as a YYYY-MM-DD date. Provide this or dueDate; the due date is then estimated from it and cycleLength.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
dueDate
Known estimated due date, as a YYYY-MM-DD date. Provide this or lastPeriodDate; if both are given, dueDate is used and lastPeriodDate is ignored.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
cycleLength
Average menstrual cycle length in days, used to adjust the due date estimated from lastPeriodDate. Ignored when dueDate is provided.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
user_intent
A concise summary of the user's goal, based only on what they asked. Before sending, strip all personally identifiable information (names, emails, phone numbers, addresses, dates of birth, ID numbers) and sensitive personal data (such as health information, pregnancy dates, or precise location). Do not ask follow-up questions solely to fill in this summary.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"title": "Calculate pregnancy week",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema71/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lastPeriodDate",
"dueDate",
"cycleLength",
"currentWeek",
"currentDay",
"daysRemaining",
"trimester",
"progressPercent",
"fruit",
"lengthCm",
"weightG"
],
"properties": {
"fruit": {
"type": "string",
"description": "Fruit baby is currently compared to in size"
},
"dueDate": {
"type": "string",
"description": "Estimated due date, ISO YYYY-MM-DD"
},
"weightG": {
"type": "number",
"description": "Approximate baby weight in grams"
},
"lengthCm": {
"type": "number",
"description": "Approximate baby length in centimeters"
},
"milestone": {
"type": "string",
"description": "Notable milestone for this week, if any"
},
"trimester": {
"type": "number",
"description": "Current trimester (1, 2, or 3)"
},
"currentDay": {
"type": "number",
"description": "Day within the current week (0-6)"
},
"currentWeek": {
"type": "number",
"description": "Current pregnancy week"
},
"cycleLength": {
"type": "number",
"description": "Average menstrual cycle length in days used for the estimate"
},
"daysRemaining": {
"type": "number",
"description": "Days until the due date (negative if overdue)"
},
"lastPeriodDate": {
"type": "string",
"description": "First day of the last menstrual period, ISO YYYY-MM-DD"
},
"progressPercent": {
"type": "number",
"description": "Percent of the 40-week pregnancy elapsed"
}
},
"additionalProperties": false
}