{"node":"mcp.eudamed-poc.weget.cc","did":"did:web:mcp.eudamed-poc.weget.cc","simulation":true,"status":"SIMULĀCIJA","organisation":"EUDAMED datu forma (simulācija)","trust_anchor":"did:web:aimedexchange.pppa.lv:poc-anchor","mcpEndpoints":["https://mcp.eudamed-poc.weget.cc/mcp/"],"profile":"LV-MCP-MED-0.1-draft","request_envelope":{"type":"object","description":"Carried in MCP request _meta on every call; verified by the called node before any data is returned.","required":["agent_did","org_did","presentation","purpose","correlation_id"],"properties":{"agent_did":{"type":"string","example":"did:web:rakus.weget.cc:agents:rakus-agt-003"},"org_did":{"type":"string","example":"did:web:rakus.weget.cc"},"presentation":{"type":"string","description":"VP (JWT) containing the ExchangeParticipantCredential of the org and the agent mandate credential issued by the org IdP"},"purpose":{"type":"string","enum":["treatment","administration","procurement","ai_governance","secondary_use"]},"legal_basis_ref":{"type":"string","description":"Code of the declared legal basis, e.g. 'lv.treatment_law', 'consent:<credential-id>'; required when the tool's data_tier is T2 or T3, or the tool's legal_basis_required is true"},"treatment_relationship_ref":{"type":"string","description":"Reference to the encounter/episode establishing the treatment relationship (synthetic in the pilot)"},"correlation_id":{"type":"string","format":"uuid"}}},"errors":[{"code":"DENIED_NO_CREDENTIAL","when":"presentation missing, expired, revoked or issuer not in the trust registry"},{"code":"DENIED_PURPOSE","when":"declared purpose not in the tool's allowed_purposes"},{"code":"DENIED_LEGAL_BASIS","when":"legal_basis_ref missing or not accepted for this tool"},{"code":"DENIED_TREATMENT_RELATIONSHIP","when":"tool requires a treatment relationship and none is referenced"},{"code":"DENIED_DATA_TIER","when":"requested data exceeds the tier permitted in this environment (pilot: T0 only for clinical tools)"},{"code":"NOT_FOUND","when":"no record for the given pseudonym or identifier"}],"tools":[{"name":"eudamed.lookup_device","node":"mcp.eudamed-poc.weget.cc","title":"Ierīces dati EUDAMED","description":"Looks up a medical device by UDI-DI or by trade name and manufacturer and returns registration status, risk class, manufacturer SRN and linked certificates. Pilot: data structure of EUDAMED public data; content from EUDAMED public data where available, otherwise simulated.","x-lv-mcp-med":{"clinical_role":"administrative","data_tier":"T1","mode":"read","allowed_purposes":["procurement","ai_governance"],"legal_basis_required":false,"treatment_relationship_required":false,"simulation":true},"inputSchema":{"type":"object","oneOf":[{"required":["udi_di"]},{"required":["trade_name","manufacturer"]}],"properties":{"udi_di":{"type":"string"},"trade_name":{"type":"string"},"manufacturer":{"type":"string"}}},"outputSchema":{"type":"object","properties":{"found":{"type":"boolean"},"udi_di":{"type":"string"},"risk_class":{"type":"string","enum":["I","IIa","IIb","III","IVD-A","IVD-B","IVD-C","IVD-D"]},"manufacturer_srn":{"type":"string"},"certificates":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"notified_body":{"type":"string"},"valid_until":{"type":"string","format":"date"},"status":{"type":"string"}}}},"source_retrieved_at":{"type":"string","format":"date-time"}}}},{"name":"eudamed.lookup_certificate","node":"mcp.eudamed-poc.weget.cc","title":"Sertifikāta pārbaude","description":"Checks a notified-body certificate number: status, validity, notified body.","x-lv-mcp-med":{"clinical_role":"administrative","data_tier":"T1","mode":"read","allowed_purposes":["procurement","ai_governance"],"legal_basis_required":false,"treatment_relationship_required":false,"simulation":true},"inputSchema":{"type":"object","required":["certificate_number"],"properties":{"certificate_number":{"type":"string"}}},"outputSchema":{"type":"object","properties":{"valid":{"type":"boolean"},"status":{"type":"string"},"valid_until":{"type":"string","format":"date"},"notified_body":{"type":"string"}}}}]}