A Model Context Protocol (MCP) compliant interface to interact with the Sahha Platform v1 API
Sahha MCP has 7 tools with consistent verb-noun naming (get_*) and basic parameter schemas. However, descriptions are generic (avg ~60 chars, well below the 194-char baseline), parameters lack depth, and output schemas are undocumented. No error handling guidance, no pagination support despite date-range queries, and no tool annotations. The code shows input validation helpers but they are not integrated into tool execution. This is a typical community server with functional but minimal definitions.
Authenticate with the Sahha API using client credentials
Get archetypes for a user within a specified date range
Get biomarkers for a user within a specified date range
Get comparisons for a user within a specified date range
Get all integrations for a user
Get statistics for a user within a specified date range
Get trends for a user within a specified date range
Output schemas undocumented. No tool returns a documented schema; LLMs cannot predict response structure or plan downstream calls. Code shows format_* helpers but these are not exposed as schema definitions.
Descriptions are generic and under 50 chars (avg ~40 chars vs 194-char baseline). E.g., 'Get biomarkers for a user within a specified date range' lacks context on when to use this vs other tools, what biomarker_types are available, or what the response contains.
No pagination support. Date-range queries (get_biomarkers, get_trends, etc.) can return large result sets but lack limit, offset, or cursor parameters. No documented result cap. LLMs may request months of data and exhaust context.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | <=2025-11-25 | v2 |
No error handling guidance. Code validates dates and empty params but does not return actionable error messages. LLMs receive raw API errors with no recovery hints (e.g., 'Invalid date format. Use ISO 8601: 2024-01-01T00:00:00Z').
No tool annotations. Tools lack readOnlyHint, destructiveHint, or idempotentHint. LLMs cannot determine which tools are safe to retry or which modify state. authenticate() should be marked destructive (sets global tokens); get_* should be marked readOnly.