A simple API for datetime operations with timezone support. Provides endpoints to get current datetime in ISO format and current week number with timezone support.
Two tools with basic descriptions and parameter schemas, but significant gaps in LLM-optimization and error guidance. Both tools have identical parameter structures (timezone string with default) and similar descriptions. Descriptions are functional but generic (60-80 chars), below the 50-200 char LLM-optimized baseline. No output schemas documented. No error handling guidance. No tool annotations (readOnlyHint, idempotentHint). Tool names follow verb_noun pattern (get_*) which is correct. Parameters lack format constraints or validation hints. No indication of when to use one tool vs the other.
Get current datetime in ISO format for the specified timezone.
Get current week number for the specified timezone.
Output schemas not documented. LLMs cannot infer what fields to expect from responses (e.g., does get_current_datetime return {datetime: string} or {datetime: string, timestamp: number}?). This forces LLMs to guess and wastes tokens on clarification.
Descriptions are generic and under-optimized for LLM selection. Both tools have identical 60-char descriptions that don't explain WHEN to use each tool or what distinguishes them. Baseline for A+ tools is 50-200 chars with clear context.
No error handling guidance. HTTPException responses (400, 500) provide raw error messages but no recovery hints. LLMs receive 'Invalid timezone: America/New_Yorks' with no suggestion to call a discovery tool or list valid timezones.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | <=2025-11-25 | v2 |
No tool annotations. Both tools are read-only and idempotent, but lack readOnlyHint and idempotentHint annotations. This forces LLMs to infer safety properties instead of reading them from metadata.
Parameter timezone lacks format constraints or validation hints. Description says 'e.g., UTC, America/New_York' but does not specify the format (IANA timezone database), min/max length, or pattern. LLMs may pass invalid values like 'EST' or 'New York'.