Skip to main content
Glama

mediora__get_test_details

Return the persisted markers + AI analysis (Summary, KeyFindings, Recommendations, DetailedExplanation) for a specific medical-test the authenticated patient owns. Use after mediora__get_patient_history surfaces a test id the user wants to discuss. Bearer token must be a Mediora patient-scope JWT. Proxies https://api.mediora.ai/api/medical-tests/{id} with the user's token forwarded as Authorization: Bearer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_idYesNumeric medical-test id (returned by mediora__get_patient_history as `id`).
bearer_tokenYesMediora.AI patient JWT (see mediora__whoami).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It discloses the function (returns markers + analysis), authentication method (Bearer token forwarded), and proxied endpoint. It implies read-only behavior but does not explicitly state idempotency or error conditions (e.g., unauthorized access, missing test ID). Adequate but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long with zero wasted words. It front-loads the core purpose and immediately provides usage context and authentication details. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with two parameters and no output schema, the description adequately explains what is returned (markers + AI analysis) and the prerequisite call (get_patient_history). It lacks information on response format or potential error responses, but given the simplicity, it is largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by clarifying that `test_id` is 'returned by mediora__get_patient_history as `id`' and that `bearer_token` is a 'Mediora patient JWT (see mediora__whoami)'. This contextual guidance goes beyond the schema's minimal descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns 'persisted markers + AI analysis' for a specific medical test, listing the exact components (Summary, KeyFindings, Recommendations, DetailedExplanation). It identifies the resource ('medical-test') and scope ('authenticated patient owns'), distinguishing it from sibling tools like 'explain_marker' or 'longitudinal_trend'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly instructs when to use: 'Use after mediora__get_patient_history surfaces a test id the user wants to discuss.' It also specifies authentication requirements (patient-scope JWT). However, it does not explicitly state when not to use or provide alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource or action: catalog list/explain tools are divided by entity type (condition, marker, panel, symptom), patient data tools separate history, details, and trend analysis, and analyze_lab_pdf/whoami have unique roles. No two tools could reasonably be confused.

Naming Consistency4/5

The set overwhelmingly follows a verb_noun pattern (list_*, explain_*, get_*, analyze_lab_pdf, lookup_marker, whoami). The only deviation is 'longitudinal_trend', which is a noun phrase rather than an action verb; still clearly readable.

Tool Count5/5

At 14 tools, the set is well-scoped for a domain that spans catalog browsing, patient data retrieval, and lab report analysis. Each tool serves a distinct purpose and none feel redundant.

Completeness5/5

The lifecycle is complete: authenticate (whoami), ingest a lab PDF (analyze_lab_pdf), retrieve patient history (get_patient_history), drill into details (get_test_details), and analyze longitudinal patterns (longitudinal_trend). The catalog is fully browsable with list_* and explain_* tools, and lookup_marker bridges aliases. No obvious missing operations.