The Triangle Health MCP connector routes your AI agent's tool calls to Triangle Health's own MCP server through Scalekit. Each user signs in to Triangle Health once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 59 tools.
- Tools
- 59
- What they doRead · write · destructive
- 35 · 11 · 1335 read11 write13 destructive
- Users sign in with
- OAuth
- OAuth app
- Your own Triangle Health MCP server app
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Triangle Health MCP connection
In AgentKit > Connections, create a Triangle Health MCP connection and copy its redirect URI. The name you give it is the
connection_nameyour code passes. See Configure connections.Register an OAuth app
Triangle Health MCP server connections use your own OAuth app. Register one with Triangle Health MCP server and add the redirect URI you copied.
Then enter the app's Client ID and Client Secret on the Triangle Health MCP connection.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'trianglehealthmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Triangle Health MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'trianglehealthmcp_get_appointment_availability',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "trianglehealthmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Triangle Health MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="trianglehealthmcp_get_appointment_availability",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_tooltrianglehealthmcp_get_appointment_availabilityThe times a Triangle clinician can see the person, as ISO instants with offsets, plus the visit length.Read-onlyGet appointment availability
The times a Triangle clinician can see the person, as ISO instants with offsets, plus the visit length. `schedule_appointment` books one of these times. Availability depends on the visit type and the US state the person will be in; both default from their profile. Input: optional `type` and `state`.
Inputs
statestring- Two-letter US state the person will be in, for licensing. Defaults to the state of their address on file.
typestring- Kind of visit. Defaults to intake for a person who has not had one, otherwise navigation (a follow-up).one of
intakenavigationlab-order-consult
trianglehealthmcp_get_care_team_practitionerOne member of the person's care team, by `teamMemberId` (from `get_care_team_practitioners`; profile ids are not accepted).Read-onlyGet care team member
One member of the person's care team, by `teamMemberId` (from `get_care_team_practitioners`; profile ids are not accepted). Returns profile-backed and user-backed practitioners in one shape. Profile-backed members include `editableProfile` when the entry can be edited in the app.
Inputs
teamMemberIdstringrequired- Care team member ID from get_care_team_practitioners
trianglehealthmcp_get_care_team_practitionersThe practitioners on the person's care team, with optional search and paging: who they are, their contact details and how they are linked.Read-onlyList care team
The practitioners on the person's care team, with optional search and paging: who they are, their contact details and how they are linked. Both directory entries and verified practitioner accounts are included; pending invites are not. Input: optional `search` (name, specialty, practice, contact fields or NPI), `offset` and `limit` (default 0 and 25). `pagination.hasMore` says whether there are more. Each row's `teamMemberId` is the id the other care team tools take.
Inputs
limitinteger- Page size (defaults to 25; max 50)default
25 offsetinteger- Pagination offset (defaults to 0)default
0 searchstring- Search practitioners by name, specialty, practice, contact info, or NPI
sortBystring- Sort order: lastName, lastSeen, specialty, or groupNameone of
lastNamelastSeenspecialtygroupName
trianglehealthmcp_get_changes_sinceWhat has changed in this person's Triangle record since a given time: documents added or processed, records imports, clinical summary updates, notes, health topics, appointments, reports, surveys, profile and care team changes, and messages sent in Triangle's chat.Read-onlyGet record changes since
What has changed in this person's Triangle record since a given time: documents added or processed, records imports, clinical summary updates, notes, health topics, appointments, reports, surveys, profile and care team changes, and messages sent in Triangle's chat. It keeps a conversation current without re-reading everything: pass the `nextSince` from the previous answer, and each event names the surface that changed, so only that needs reading again. Events come newest first. When `hasMore` is true, `before` set to `earlierBefore` reads the rest of the window before `since` moves forward. Both bounds include their own instant, so the event at a cursor can appear again on the next call: `eventId` tells it apart. It lists that something changed, not the change itself: it carries no document contents, note text or message text.
Inputs
limitintegerrequired- Page size (defaults to 50; max 200)default
50 beforestring- Return changes before this time (ISO 8601). Use `earlierBefore` from a previous call to page further back.
sincestring- Return changes after this time (ISO 8601). Defaults to 7 days ago.
trianglehealthmcp_get_clinical_summaryTriangle's own written summary of the person's records: one section per health topic, written from every document on file, with whether it is current, being rewritten, or not yet written.Read-onlyGet clinical summary
Triangle's own written summary of the person's records: one section per health topic, written from every document on file, with whether it is current, being rewritten, or not yet written. It answers "what's in my records" or "summarize my history", and is the starting point before individual documents. A new summary is written automatically after records are uploaded or imported; there is no way to ask for one here. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_genome_geneOne gene from the person's genome report: the finding in plain words, what it changes, the risk level and evidence, the medications it affects, the action plan, and the variant details.Read-onlyGet genome finding for a gene
One gene from the person's genome report: the finding in plain words, what it changes, the risk level and evidence, the medications it affects, the action plan, and the variant details. It answers "what does my CYP2C19 result mean" or "do I carry a BRCA variant", and, gene by gene for the genes `get_genome_overview` names, "which of my medications are affected by my genes". A gene that is not in the report has no finding; that is not the same as a normal result, and the answer says so. Input: `gene`, a symbol such as CYP2C19.
Inputs
genestringrequired- Gene symbol, for example CYP2C19, BRCA1 or APOE.
trianglehealthmcp_get_genome_overviewThe person's genome report, when one is on file: how many genes have findings, the categories they fall into (such as pharmacogenomics, cancer risk, cardiovascular), and the genes to start with.Read-onlyGet genome report overview
The person's genome report, when one is on file: how many genes have findings, the categories they fall into (such as pharmacogenomics, cancer risk, cardiovascular), and the genes to start with. It answers "what did my DNA test show" or "do I have any genetic risks", and names the genes `get_genome_gene` covers in detail. This is the germline (inherited) genome report; the tumor genomic analysis of a cancer is a separate set of tools starting with `get_genomics_run`. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_genomics_geneEverything the tumor genomic analysis says about one gene, in one call: RNA expression, small variants with their reportability tier and reason, copy number, and whether it is a reported driver or a neoantigen source.Read-onlyGet tumor genomics for a gene
Everything the tumor genomic analysis says about one gene, in one call: RNA expression, small variants with their reportability tier and reason, copy number, and whether it is a reported driver or a neoantigen source. It answers "what about TP53", "is EGFR amplified" or "is this a driver". A gene with no reportable variant is not the same as a gene that was not looked at; the answer says which. Input: `gene`, a symbol such as TP53.
Inputs
genestringrequired- Gene symbol, for example TP53 or CDKN2A.
trianglehealthmcp_get_genomics_runA map of the person's tumor genomic analysis, when result access is allowed: which areas are present (variants, copy number, structural variants, RNA expression, biomarkers, signatures, HLA, neoantigens, germline, pharmacogenomics, immune, targeted therapy, supplements, trials, pathways) and the file to start from in each.Read-onlyGet tumor genomic analysis
A map of the person's tumor genomic analysis, when result access is allowed: which areas are present (variants, copy number, structural variants, RNA expression, biomarkers, signatures, HLA, neoantigens, germline, pharmacogenomics, immune, targeted therapy, supplements, trials, pathways) and the file to start from in each. It is the entry point for questions about the person's tumor sequencing, mutations, genomic report or what their cancer is driven by; the other genomics tools build on it. "CBP" refers to this analysis. The answer says plainly whether results are linked, awaiting review, unavailable, or available after clinical release. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_health_overviewThe one-call picture of what Triangle holds for the authenticated person, and how to reach each part: health topics (conditions), current medications and allergies, notes, documents and whether a records import is running, the clinical summary, lab results, measurements, connected wearables, the genome field, upcoming appointments and routines.Read-onlyGet health overview
The one-call picture of what Triangle holds for the authenticated person, and how to reach each part: health topics (conditions), current medications and allergies, notes, documents and whether a records import is running, the clinical summary, lab results, measurements, connected wearables, the genome field, upcoming appointments and routines. It is the natural first read in a conversation. Each section says whether it has anything, gives counts or names, and names the tool that has the detail (`reach.tool`) or, where no tool exists yet, the page in the app (`reach.link`). A section with `available: false` could not be read just now, which is not the same as empty. It is a summary, not the data: medication names without doses, document counts without contents, the latest lab report's date without its results. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_lab_panelEvery result in one panel of the person's most recent lab report (lipids, liver, kidney, thyroid, blood count and so on), each with value, unit, reference range and flag.Read-onlyGet lab panel
Every result in one panel of the person's most recent lab report (lipids, liver, kidney, thyroid, blood count and so on), each with value, unit, reference range and flag. For questions about an area rather than one test ("how's my liver?"). The panel ids and titles come from `get_labs_overview`; when nothing matches, the answer lists the panels that exist. Input: `panel`.
Inputs
panelstringrequired- A panel id (for example "liver_function") or part of a panel title ("liver"). Case does not matter.
trianglehealthmcp_get_lab_resultOne test from the person's most recent lab report, with its value, unit, reference range, flag, and the plain-language headline, summary and takeaway written for it.Read-onlyGet lab result
One test from the person's most recent lab report, with its value, unit, reference range, flag, and the plain-language headline, summary and takeaway written for it. For questions about a named test ("what was my LDL?"). An exact id or name returns that test; otherwise every test whose id or name contains the words is returned (at most 10), so "cholesterol" gives the whole lipid set. Input: `test`.
Inputs
teststringrequired- A test id (for example "lipid_ldl") or name ("LDL Cholesterol"), or part of one. Case does not matter.
trianglehealthmcp_get_labs_overviewThe person's most recent lab report at a glance: which laboratory, when it was resulted, the panels it contains with how many results each, and every result outside its reference range, with value, unit, range and flag.Read-onlyGet labs overview
The person's most recent lab report at a glance: which laboratory, when it was resulted, the panels it contains with how many results each, and every result outside its reference range, with value, unit, range and flag. It is the starting point for questions about blood work or lab results; `get_lab_result` has one test in full and `get_lab_panel` every result in a panel. Only the latest report is available; earlier reports are not. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_measurementsThe history of one measurement for the person, newest first: every lab value, vital or daily device reading of that type, with date, value, unit, reference range, flag and where it came from.Read-onlyGet measurement history
The history of one measurement for the person, newest first: every lab value, vital or daily device reading of that type, with date, value, unit, reference range, flag and where it came from. Blood pressure comes back as "120/80 mmHg". It answers "what was my LDL over the last year", "how has my weight changed" or "show my blood pressure readings". Names are matched loosely; when a name fits several types the answer lists the candidates with their `typeId`. Input: `type` (name or typeId), optional `from` and `to` days, optional `limit` (default 50, max 200).
Inputs
limitintegerrequired- Maximum number of results to return.default
50 typestringrequired- A measurement type by name ("LDL Cholesterol", "Blood Pressure", "Steps") or by typeId from list_measurement_types.
fromstring- Earliest day to include (YYYY-MM-DD).
tostring- Latest day to include (YYYY-MM-DD).
trianglehealthmcp_get_medical_recordOne medical record in full: time-limited download links, Triangle's AI-written summary, and the text extracted from it.Read-onlyGet medical record
One medical record in full: time-limited download links, Triangle's AI-written summary, and the text extracted from it. Input: `recordId`, from `get_medical_records` or `search_documents`. `urls.original` is a presigned link to the source file and `urls.parsed` the extracted markdown when there is one. `summary` is the AI-written markdown summary when present. `extractedContent` is the full extracted text (cut for very large files). `record.link` opens the record in the app.
Inputs
recordIdstringrequired- Medical record ID from get_medical_records
trianglehealthmcp_get_medical_recordsThe medical records on the person's profile, newest first by clinical or service date (then update and upload time), with paging and filters.Read-onlyList medical records
The medical records on the person's profile, newest first by clinical or service date (then update and upload time), with paging and filters. Metadata only: names, sources, dates and types, with no file links or contents; `get_medical_record` has one record in full. Input: optional `tab`, `search`, `source`, `mimeType`, `since`, `offset` and `limit` (default 0 and 20). `pagination.total` counts the records matching the filters and `stats.total` every record on the profile; `pagination.hasMore` says whether there are more. Documents Triangle generated itself are left out unless `tab=generated`.
Inputs
limitinteger- Page size (defaults to 20; max 50)default
20 mimeTypestring- Filter by MIME type
offsetinteger- Pagination offset (defaults to 0)default
0 searchstring- Search record name or title
sincestring- Return records updated or created on or after this ISO 8601 timestamp
sourcestring- Filter by record source
tabstring- Filter by record tab: uploaded, retrieved, or generatedone of
uploadedretrievedgenerated
trianglehealthmcp_get_medicationsThe person's medications, supplements and allergies as Triangle holds them: each one's `medicationId`, name, status, whether it still needs the person's confirmation, and its details (dose, how often, what for, as written).Read-onlyGet medications and allergies
The person's medications, supplements and allergies as Triangle holds them: each one's `medicationId`, name, status, whether it still needs the person's confirmation, and its details (dose, how often, what for, as written). Statuses: `current` (taking it now), `past` (stopped), `allergic` (an allergy or reaction), `other`. A medication with `needsReview: true` was found in the person's records and has not been confirmed or dismissed by them: it is something to check, not something they are known to take. It is the source for what the person takes, and for questions about interactions or side effects. `create_medication` adds one; `update_medication` changes one by its `medicationId`. The list gives each one's details shortened to a line. With `medicationId`, it returns that one medication with its details in full. Input: optional `status` to return one group (`needs_review` for the unconfirmed ones), or optional `medicationId` for one medication. The counts always cover the whole list.
Inputs
medicationIdstring- One medication, by the id the list gives, with its details in full. Leave out for the list.
statusstring- Only one group: current, past, allergic, other, or needs_review for entries found in records that the person has not confirmed. A status never includes unconfirmed entries. Leave out for the whole list.one of
currentpastallergicotherneeds_review
trianglehealthmcp_get_noteOne note in full: its kind (`noteKind`), content, summary when there is one, metadata, and a link to open it in the app.Read-onlyGet note
One note in full: its kind (`noteKind`), content, summary when there is one, metadata, and a link to open it in the app. Input: `noteId`, from `get_notes`, `get_topic_notes` or `search_topic_notes`.
Inputs
noteIdstringrequired- Note ID from get_notes, get_topic_notes, or search_topic_notes
trianglehealthmcp_get_notesThe notes on the person's profile, of every kind (the person's own, clinical, medication and others), with paging and filters.Read-onlyList notes
The notes on the person's profile, of every kind (the person's own, clinical, medication and others), with paging and filters. Each row carries its `id` and `noteKind`; `get_note` has one note in full. Input: optional `noteKind` (`list_note_kinds` lists them), `topicSlug`, `search`, `offset` and `limit` (default 0 and 20). `pagination.hasMore` says whether there are more.
Inputs
limitinteger- Page size (defaults to 20; max 50)default
20 noteKindstring- Filter to one note kind; omit to return all supported kindsone of
userclinicalaimedicationpatient-inforeminderspatient-intakepractitionerpatient-overviewmedication-fills offsetinteger- Pagination offset (defaults to 0)default
0 searchstring- Search note title, summary, or content
topicSlugstring- Optional topic slug to scope results
trianglehealthmcp_get_patientWho the authenticated person is in Triangle: name, sex and gender, date of birth and age, phone, addresses, and whether their identity has been verified.Read-onlyGet patient profile
Who the authenticated person is in Triangle: name, sex and gender, date of birth and age, phone, addresses, and whether their identity has been verified. It covers how to address the person, age-related questions, and anything that needs a location (an appointment nearby, a pharmacy). The health picture is in `get_health_overview`. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_record_sourcesWhere the person's records come from and whether anything is in motion: the health information network (connected or not, when it was last checked, whether a refresh may be asked for now), the records import (its state and any problem), Medicare (Blue Button) and the most recent upload batch (how many files, how many read).Read-onlyGet record sources
Where the person's records come from and whether anything is in motion: the health information network (connected or not, when it was last checked, whether a refresh may be asked for now), the records import (its state and any problem), Medicare (Blue Button) and the most recent upload batch (how many files, how many read). It shows whether `request_record_sync` can run, follows progress after `complete_document_upload`, and explains why a record has not appeared yet. Connecting a provider for the first time happens in the app at the link given. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_setup_statusWhere this person is with Triangle: whether they have a plan, whether setup is finished, how many records are in, which wearables are connected, and the one link for the next step.Read-onlyGet setup status
Where this person is with Triangle: whether they have a plan, whether setup is finished, how many records are in, which wearables are connected, and the one link for the next step. It answers what Triangle has and what to do next, including for someone who just connected, and explains another tool's answer that setup isn't finished. It never changes anything. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_topic_notesThe notes linked to one of the person's health topics, each with its `noteKind`, a summary and a link.Read-onlyGet notes for a topic
The notes linked to one of the person's health topics, each with its `noteKind`, a summary and a link. Input: `topicSlug`, from `get_topics`; optional `noteKind` (default `user`). Notes across the whole profile are in `get_notes`.
Inputs
topicSlugstringrequired- Topic slug to scope notes to
noteKindstring- Note kind to return for this topic (defaults to user notes)one of
userclinicalaimedicationpatient-inforeminderspatient-intakepractitionerpatient-overviewmedication-fills
trianglehealthmcp_get_topicsThe person's health topics (the conditions and areas of health they follow), with each topic's slug and id, and their topic groups (`topicGroups`) with ids.Read-onlyList health topics
The person's health topics (the conditions and areas of health they follow), with each topic's slug and id, and their topic groups (`topicGroups`) with ids. An empty list means no topics yet. These slugs and ids are what the topic and note tools take, such as `set_topic_group`, `get_topic_notes` and `delete_topic`. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_get_wearable_daysA day-by-day table of what the person's connected wearables recorded: steps, sleep, resting and average heart rate, HRV, calories, weight and the other daily metrics a device sends, one row per day and device, newest first.Read-onlyGet daily wearable data
A day-by-day table of what the person's connected wearables recorded: steps, sleep, resting and average heart rate, HRV, calories, weight and the other daily metrics a device sends, one row per day and device, newest first. It answers "how did I sleep this week", "am I walking more" and other questions about recent activity, sleep or recovery. For one metric over a long period, `get_measurements` with that metric's name is cheaper. Durations are in minutes except sleep, which is in hours. Input: optional `from` and `to` days (default the last 7days, at most 90), optional `metrics` to narrow the columns.
Inputs
fromstring- First day (YYYY-MM-DD). Defaults to 7 days ago.
metricsarray- Only metrics whose name contains one of these words, for example ["sleep", "steps"]. Leave out for every metric.
tostring- Last day (YYYY-MM-DD). Defaults to today.
trianglehealthmcp_list_appointmentsThe person's doctor appointments with Triangle: when, what kind (intake for a first visit, navigation for a follow-up, lab-order-consult), and whether each is still ahead or how it ended.Read-onlyList appointments
The person's doctor appointments with Triangle: when, what kind (intake for a first visit, navigation for a follow-up, lab-order-consult), and whether each is still ahead or how it ended. It answers "when is my next appointment" or "did I have a visit in March", and gives the ids `reschedule_appointment` and `cancel_appointment` take. Input: optional `scope` (upcoming, past, all) and `limit`.
Inputs
limitinteger- How many to return; defaults to 10, at most 50.
scopestring- "upcoming" (default): future appointments, soonest first. "past": completed or cancelled ones, newest first. "all": everything, newest first.one of
upcomingpastall
trianglehealthmcp_list_genomics_filesThe catalog of result files in the tumor genomic analysis: what each holds, the questions it answers, its area, and whether it exists for this analysis.Read-onlyList tumor genomics files
The catalog of result files in the tumor genomic analysis: what each holds, the questions it answers, its area, and whether it exists for this analysis. It shows which file answers a question about therapies, trials, biomarkers, signatures or germline findings; `read_genomics_artifact` reads a file by its `path`. `area` narrows the catalog to one area, for example targeted_therapy, trials, germline, biomarkers. Input: optional `area`.
Inputs
areastring- One area of the analysis, for example targeted_therapy, trials, germline, biomarkers, cnv, rna.
trianglehealthmcp_list_measurement_typesWhich measurements Triangle holds for the person, with the latest value of each: lab values and vitals from their records, and the daily metrics their connected devices send (steps, sleep, resting heart rate, HRV, weight and so on).Read-onlyList measurement types
Which measurements Triangle holds for the person, with the latest value of each: lab values and vitals from their records, and the daily metrics their connected devices send (steps, sleep, resting heart rate, HRV, weight and so on). It shows what can be asked about; `get_measurements` has one type's history and `get_wearable_days` a day-by-day device table. Records are listed from their whole history (`recordsTruncated` says when the newest 200rows did not cover it); device metrics are those seen in the last 3days. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_list_note_kindsEvery note kind (`noteKind`) Triangle holds, with a short description of each and whether it can be written.Read-onlyList note kinds
Every note kind (`noteKind`) Triangle holds, with a short description of each and whether it can be written. Only `user` notes, the person's own, can be created, updated or deleted; the other kinds are read-only. The kinds are the values `get_notes` and `get_topic_notes` filter on. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_list_routinesThe person's reminders and routines in Triangle: what they asked to be reminded of, how often, and when each next fires.Read-onlyList reminders and routines
The person's reminders and routines in Triangle: what they asked to be reminded of, how often, and when each next fires. Triangle delivers them in its own chat and by notification. It answers "what reminders do I have" or "when is my next weigh-in reminder", and shows what exists before `update_routines` changes it. A routine that was just created may show no schedule for a minute while it is being worked out. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_list_wearable_connectionsThe wearables and health apps connected to the person's Triangle account (Oura, Fitbit, Garmin, Apple Health and others), with each one's status and when it last sent data.Read-onlyList connected wearables
The wearables and health apps connected to the person's Triangle account (Oura, Fitbit, Garmin, Apple Health and others), with each one's status and when it last sent data. It shows which device the numbers come from and what is connected; `request_wearable_connection` connects a new one. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_read_genomics_artifactOne page of a result file from the tumor genomic analysis (text or JSON): the ranked therapies, matched trials, biomarkers, signatures, germline findings and the other files in the analysis.Read-onlyRead tumor genomics file
One page of a result file from the tumor genomic analysis (text or JSON): the ranked therapies, matched trials, biomarkers, signatures, germline findings and the other files in the analysis. `path` is a file's path within the analysis, exactly as `list_genomics_files` gives it (for example `biomarkers/biomarkers-summary.json`); that catalog describes each file and the questions it answers. An answer with `complete: false` continues with `offset` set to its `next_offset`. The RNA expression file (about 8 MB) is better read gene by gene with `get_genomics_gene`. Binary files cannot be read. Input: `path`, optional `offset` and `maxBytes` (max 30000).
Inputs
pathstringrequired- The file path within the analysis, as list_genomics_files gives it, for example "biomarkers/biomarkers-summary.json".
maxBytesinteger- Bytes in this page; defaults to 20000.
offsetinteger- Byte offset to continue from: the previous answer's next_offset.
trianglehealthmcp_read_genomics_registryThe clinical summary of record from the tumor genomic analysis: every reportable alteration (small variant, copy-number change, structural variant, fusion) with its tier, evidence and reason.Read-onlyRead tumor genomics findings
The clinical summary of record from the tumor genomic analysis: every reportable alteration (small variant, copy-number change, structural variant, fusion) with its tier, evidence and reason. It answers "what were the main findings". It can be large and is cut at 40000characters; `get_genomics_gene` covers one gene. Tiers describe how strong the evidence is, not a treatment plan. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_search_documentsSearch the person's medical records by meaning: the passages of their documents that best match a question or phrase, each with the document it comes from and a link to it.Read-onlySearch medical records
Search the person's medical records by meaning: the passages of their documents that best match a question or phrase, each with the document it comes from and a link to it. It answers "what did the cardiologist say" or "when was my last scan", and finds the document behind a value; `get_medical_record` has the whole document. Only documents the person may see are searched. Input: `query`, optional `limit` (default 10, max 20).
Inputs
limitintegerrequired- Maximum number of results to return.default
10 querystringrequired- What to look for, in words: "MRI of the knee", "A1c results", "colonoscopy".
trianglehealthmcp_search_topic_notesSearch the person's notes by keyword, across every topic.Read-onlySearch notes
Search the person's notes by keyword, across every topic. Each match carries its note id, `noteKind` and linked topics. Input: `query`; optional `noteKind` (every kind when left out) and `limit`.
Inputs
limitintegerrequired- Maximum number of results to return.default
20 querystringrequired- Search query to match against note titles/content
noteKindstring- Optional note kind filterone of
userclinicalaimedicationpatient-inforeminderspatient-intakepractitionerpatient-overviewmedication-fills
trianglehealthmcp_complete_document_uploadMarks the files from `request_document_upload` as sent, so Triangle checks them, reads them and works them into the person's summary.WriteComplete document upload
Marks the files from `request_document_upload` as sent, so Triangle checks them, reads them and works them into the person's summary. Returns the batch's state; reading takes a few minutes and `get_record_sources` shows progress. It is called once per batch, after every PUT has finished. A file whose bytes never arrived, or whose size differs from what was declared, fails the batch with `upload_incomplete`. Input: `documentIds`.
Inputs
documentIdsarrayrequired- The documentId values from request_document_upload whose files have been put.
trianglehealthmcp_create_care_team_practitionerAdd a practitioner to the person's care team directory.WriteAdd care team member
Add a practitioner to the person's care team directory. At least one identifying field is required (name, email, phone, practice, group, or NPI). When an NPI matches an existing profile, that profile is linked instead of a duplicate being made. It sends no invitation; `invite_care_team_practitioner` does that.
Inputs
addressstring- Practice address.
credentialsstring- Professional credentials, such as MD or NP.
displayNamestring- Name to show for the practitioner.
emailstring- Email address.
faxstring- Fax number.
firstNamestring- First name.
genderstring- Gender.
groupNamestring- Practice group or organization name.
lastNamestring- Last name.
lastSeenAtstring- ISO 8601 date or datetime when the patient was last seen by this practitioner
middleNamestring- Middle name.
npistring- National Provider Identifier (NPI), 10 digits.
phonestring- Phone number.
practiceNamestring- Name of the practice.
prefixstring- Name prefix, such as Dr.
specialtystring- Medical specialty.
suffixstring- Name suffix, such as Jr.
websiteUrlstring- Website URL.
trianglehealthmcp_create_documentPut a document into the person's records from its text, when the file itself cannot be sent.WriteAdd document from text
Put a document into the person's records from its text, when the file itself cannot be sent. Triangle stores it as a markdown document, labelled as sent by an assistant, and reads it like any upload: labs, medications and findings in it join the record. For a pasted report, portal printout, discharge summary or letter, or a file that can be read but not sent. The text is expected to be a faithful transcription, with the original values, units and dates. `request_document_upload` takes a file's bytes instead, and `create_topic_note` is for the person's own words (how they feel, what the doctor said). Input: `title`, `content`; optional `format` (markdown or text), `date` on the document, `origin`.
Inputs
contentstringrequired- The document text, as markdown or plain text. Keep the original wording, values and units.
formatstringrequired- How `content` is written.one of
markdowntextdefaultmarkdown titlestringrequired- What the document is, for example "CBC results, 3 March 2026".
datestring- The date on the document (YYYY-MM-DD), not today, when it is known.
originstring- Where it came from, in a few words: "pasted from the MyChart portal", "PDF attached in chat, transcribed".
trianglehealthmcp_create_topicAdd one or more health topics (conditions or areas of health the person follows) to the person's profile.WriteAdd health topic
Add one or more health topics (conditions or areas of health the person follows) to the person's profile. A topic that already exists is returned as it is, which counts as success. Input: `name` for one topic, or `names` for several in one call. Topic names are unique across the whole profile, not per group, so a second topic with an existing name is rejected even under a different group. Existing topics move into groups with `set_topic_group`, using the ids from `get_topics`. The answer includes the topic's link when there is one.
Inputs
namestring- Single topic name to create
namesarray- Optional bulk list of topic names to create
trianglehealthmcp_create_topic_groupCreate one or more topic groups on the person's profile, for organizing their health topics.WriteAdd topic group
Create one or more topic groups on the person's profile, for organizing their health topics. Input: `name` for one group, or `names` for several in one call. Groups hold existing topics: `set_topic_group` moves topics into a group. Topic names are unique across the profile, so `create_topic` cannot make a second copy of a topic under a group. Existing groups are listed in `get_topics`.
Inputs
namestring- Single group name to create
namesarray- Optional bulk list of group names to create
trianglehealthmcp_create_topic_noteCreate a note in the person's own words (`noteKind: user`), on its own or linked to one or more health topics.WriteAdd note
Create a note in the person's own words (`noteKind: user`), on its own or linked to one or more health topics. Notes of other kinds can be read but not created. A report, a letter, a portal printout or anything else that is a record rather than a note goes in with `create_document` (text) or `request_document_upload` (file), so its findings join the record. Input: for one note, `title`, `content` and optional `topicSlugs` (or `topicSlug`); for several, `notes`, an array of `{ title, content, topicSlugs? }`. Topic slugs must already exist (`get_topics` lists them). Content is stored as given, plain text or Markdown. The answer gives each new note's `noteId`; `get_note` returns its link.
Inputs
contentstring- Single note content
notesarray- Notes to create.
titlestring- Single note title
topicSlugstring- Single note topic slug shorthand
topicSlugsarray- Optional single note topic slugs
trianglehealthmcp_invite_care_team_practitionerSend an email invitation for an unclaimed profile-backed care team practitioner.WriteInvite care team member
Send an email invitation for an unclaimed profile-backed care team practitioner. The practitioner must have `source: "profile"`, must not already be claimed, and must not have a pending invite. Creates a pending user team member and sends an invitation email to the provided address. The directory entry comes first, from `create_care_team_practitioner`.
Inputs
emailstringrequired- Email address to send the invitation to
teamMemberIdstringrequired- Care team member ID for an unclaimed profile-backed practitioner
trianglehealthmcp_request_document_uploadGet a one-hour link for putting one file into the person's records.WriteRequest document upload link
Get a one-hour link for putting one file into the person's records. The answer is a URL to send the file to with an HTTP PUT and the headers to use; the file is read into the record only after `complete_document_upload` is called with the returned `documentId`. For a lab report, a letter, a scan image or a PDF the person wants kept in Triangle; one call per file. PDFs, images, Office documents, text, CSV, XML, JSON, DICOM and HL7 are accepted. A file under about 700 KB can be sent in `contentBase64` instead: it is stored at once and no PUT or `complete_document_upload` is needed. When no bytes can be sent at all, `create_document` takes the text. Input: `filename`, `mimeType`, `fileSize` in bytes (exact), optional `sha1`, optional `contentBase64`.
Inputs
filenamestringrequired- The file name, with its extension.
fileSizeintegerrequired- Exact size in bytes; the upload is bound to it.
mimeTypestringrequired- The file type, for example application/pdf or image/jpeg.
contentBase64string- The file itself, base64, for files under about 700 KB: stored at once, no PUT needed.
sha1string- SHA-1 of the file, if known; lets Triangle recognise a file already on record.
trianglehealthmcp_request_record_syncAsk the health information network for the person's newest records.WriteRefresh records from network
Ask the health information network for the person's newest records. Works only for a person already connected to it; the answer says whether a fetch started, one is already running, or it is too soon since the last one (and when the next is allowed). For a recent visit, test or hospital stay the person wants in Triangle. Connecting to the network for the first time needs identity verification and consent, which happen in the app at the link given, not here. New records arrive in the background; `get_record_sources` shows progress. Input: none.
Inputs
This tool takes no inputs.
trianglehealthmcp_request_wearable_connectionStart connecting a wearable or health app to the person's Triangle account.WriteConnect a wearable
Start connecting a wearable or health app to the person's Triangle account. The answer is a link the person opens themselves to choose the device and sign in to it; nothing is connected until they finish there. For connecting, adding or reconnecting a device. The link expires. The tool cannot pick the device or sign in for the person. Input: optional `deviceId` to reconnect an existing device.
Inputs
deviceIdstring- A device from list_wearable_connections to reconnect. Leave out to connect a new one.
trianglehealthmcp_schedule_appointmentBook a doctor appointment with Triangle at a time the person has agreed to.WriteBook appointment
Book a doctor appointment with Triangle at a time the person has agreed to. Open times come from `get_appointment_availability`. If an appointment of the same kind is already ahead, nothing new is booked and that one is returned (status "existing"); `reschedule_appointment` moves it. A phone number is required by the clinic; the one on file is used unless `phone` is given. Input: `startsAt`; optional `type`, `durationMinutes`, `phone`, `email`, `reason`.
Inputs
startsAtstringrequired- Start time as an ISO-8601 instant with an offset, for example 2026-11-03T15:00:00-05:00. Pick one from get_appointment_availability.
durationMinutesinteger- Visit length. Leave out to use the clinic’s own length for this kind of visit.
emailstring- Email for the booking confirmation, if different from the account.
phonestring- Phone number the clinic may call, E.164 preferred. Defaults to the number on file.
reasonstring- What the visit is for, in the person’s words; the clinician sees it.
typestring- Kind of visit. Defaults to intake for a person who has not had one, otherwise navigation (a follow-up).one of
intakenavigationlab-order-consult
trianglehealthmcp_cancel_appointmentCancel one of the person's upcoming appointments.DestructiveCancel appointment
Cancel one of the person's upcoming appointments. Cancelling cannot be undone; `reschedule_appointment` changes the time instead. Only the person's own appointments can be cancelled, and only ones still ahead. Input: `appointmentId`.
Inputs
appointmentIdstringrequired- The appointment to cancel, from list_appointments.
trianglehealthmcp_create_medicationAdd a medication, supplement or allergy to the person's list in Triangle.DestructiveAdd medication or allergy
Add a medication, supplement or allergy to the person's list in Triangle. For something the person takes, has started, has stopped, or reacts to that is not yet on their list (`get_medications` shows the list). Names are matched case-insensitively: if the name is already on the list, the details are appended to that entry and its status set as asked, rather than a duplicate being made. Input: `name` (required), optional `details` (dose, how often, what for; stored as given) and `status` (default `current`).
Inputs
namestringrequired- The medication, supplement or substance as the person calls it, for example "Metformin".
statusstringrequired- current (taking it now), past (stopped), allergic (an allergy or reaction) or other.one of
currentpastallergicotherdefaultcurrent detailsstring- Dose, how often, what for, since when: plain text or Markdown. Optional.
trianglehealthmcp_delete_care_team_practitionerRemove a practitioner from the care team.DestructiveRemove care team member
Remove a practitioner from the care team. Works for both profile-backed and user-backed practitioners. Pending profile invites are cleaned up automatically when removing a profile-backed member.
Inputs
teamMemberIdstringrequired- Care team member ID to remove from the care team
trianglehealthmcp_delete_topicRemove a health topic from the person's profile.DestructiveRemove health topic
Remove a health topic from the person's profile. Only the person's link to the topic is removed; the topic's definition in Triangle's catalog is not affected. Input: `topicSlug`, from `get_topics`.
Inputs
topicSlugstringrequired- Topic slug to remove from the tracked topics.
trianglehealthmcp_delete_topic_groupDelete one of the person's topic groups.DestructiveDelete topic group
Delete one of the person's topic groups. Its topics are kept and become ungrouped. Input: `topicGroupId`, from `topicGroups` in `get_topics`.
Inputs
topicGroupIdstringrequired- The topicGroupId from get_topics topicGroups.
trianglehealthmcp_delete_topic_noteDelete a note the person wrote (`noteKind: user`).DestructiveDelete note
Delete a note the person wrote (`noteKind: user`). Notes of other kinds cannot be deleted. Input: `noteId`, from `get_topic_notes`, `get_notes` or `search_topic_notes`.
Inputs
noteIdstringrequired- The ID of the user topic note to delete.
trianglehealthmcp_rename_topic_groupRename one of the person's topic groups.DestructiveRename topic group
Rename one of the person's topic groups. Input: `topicGroupId`, from `topicGroups` in `get_topics`, and the new `name`.
Inputs
namestringrequired- The new display name for this topic group.
topicGroupIdstringrequired- The topicGroupId from get_topics topicGroups.
trianglehealthmcp_reschedule_appointmentMove one of the person's upcoming appointments to a new time the person has agreed to.DestructiveReschedule appointment
Move one of the person's upcoming appointments to a new time the person has agreed to. Open times come from `get_appointment_availability`. Only the person's own appointments can be moved, and only ones still ahead. The old time is cancelled before the new one is booked, so if the booking fails the person is left with no appointment. Input: `appointmentId`, `startsAt`; optional `durationMinutes`, `reason`.
Inputs
appointmentIdstringrequired- The appointment to move, from list_appointments.
startsAtstringrequired- New start time as an ISO-8601 instant with an offset. Pick one from get_appointment_availability.
durationMinutesinteger- New visit length; defaults to the current one.
reasonstring- Updated reason for the visit; leave out to keep the current one.
trianglehealthmcp_set_topic_groupMove health topics into a topic group, or out of one.DestructiveMove topic to group
Move health topics into a topic group, or out of one. Only group membership changes; the topics themselves stay as they are. Input: for one topic, `patientTopicId` and `topicGroupId` (from `topicGroups`, or `null` to ungroup); for many, `assignments`, rows that each pair a `topicGroupId` (or `null`) with the `patientTopicIds` to put in it. A topic id may appear once in the whole payload. All ids come from `get_topics`. In bulk, `summary` counts the moves and `results` reports any that failed.
Inputs
assignmentsarray- Bulk mode: each row assigns many topic membership ids to the same topicGroupId (or null to ungroup). Suited to full reorganizations.
patientTopicIdstring- Single-topic mode: topic membership id from get_topics (omit when using assignments).
topicGroupIdstring- Single-topic mode: target topicGroupId from get_topics, or null to ungroup (required with the single-topic id field).
trianglehealthmcp_update_care_team_practitionerUpdate a profile-backed care team practitioner.DestructiveUpdate care team member
Update a profile-backed care team practitioner. Only practitioners with `source: "profile"` can be edited. Verified user practitioners (`source: "user"`) cannot be updated; removing them and adding a directory entry is the alternative. Input: `teamMemberId` plus any profile fields to change.
Inputs
teamMemberIdstringrequired- Care team member ID for a profile-backed practitioner
addressstring- Practice address.
credentialsstring- Professional credentials, such as MD or NP.
displayNamestring- Name to show for the practitioner.
emailstring- Email address.
faxstring- Fax number.
firstNamestring- First name.
genderstring- Gender.
groupNamestring- Practice group or organization name.
lastNamestring- Last name.
lastSeenAtstring- ISO 8601 date or datetime when the patient was last seen by this practitioner
middleNamestring- Middle name.
npistring- National Provider Identifier (NPI), 10 digits.
phonestring- Phone number.
practiceNamestring- Name of the practice.
prefixstring- Name prefix, such as Dr.
specialtystring- Medical specialty.
suffixstring- Name suffix, such as Jr.
websiteUrlstring- Website URL.
trianglehealthmcp_update_medicationChange a medication on the person's list: its name, its details, or its status.DestructiveUpdate medication
Change a medication on the person's list: its name, its details, or its status. For something the person has stopped (`status: past`), confirms from their records (`status: current`), a corrected dose, or something that turned out to be an allergy. `medicationId` comes from `get_medications`; the exact name as listed there also works when only one entry has it. `details` replaces the whole details text rather than adding to it. Input: `medicationId` and at least one of `name`, `details`, `status`.
Inputs
medicationIdstringrequired- The medicationId from get_medications. The exact name as listed there also works when only one entry has it.
detailsstring- New details; replaces the existing details.
namestring- A new name.
statusstring- current, past, allergic or other. Setting it also confirms a medication that was awaiting review.one of
currentpastallergicother
trianglehealthmcp_update_routinesCreate, change, pause or stop the person's reminders and routines from an instruction in plain words, exactly as they would say it in Triangle's chat.DestructiveUpdate reminders and routines
Create, change, pause or stop the person's reminders and routines from an instruction in plain words, exactly as they would say it in Triangle's chat. Triangle works out the schedule and delivers the reminders itself. The instruction says what and when ("every weekday at 8am", "on the 1st of each month", "once, on 3 November at 2pm"), with a time zone or city when the person's might be unclear. Stopping or pausing is also an instruction ("stop the walking reminder", "pause the weigh-in until January"). The schedule is computed in the background; `list_routines` shows the next time about a minute later. Input: `instruction`.
Inputs
instructionstringrequired- What to remind the person of and when, or what to change, pause or stop, in plain words. For example "Remind me every Sunday at 9am to log my weight", "Move the vitamin D reminder to 8pm", "Stop the walking reminder".
trianglehealthmcp_update_topic_noteEdit a note the person wrote (`noteKind: user`): its title, content or linked topics.DestructiveUpdate note
Edit a note the person wrote (`noteKind: user`): its title, content or linked topics. Notes of other kinds cannot be changed. Input: `noteId` and at least one of `title`, `content` (plain text or Markdown, stored as given) and `topicSlugs` (an empty list removes every topic link).
Inputs
noteIdstringrequired- The ID of the note to update
contentstring- New content for the note (optional)
titlestring- New title for the note (optional)
topicSlugsarray- New topic slugs to associate with the note (optional, replaces all existing topics; pass [] to remove topic associations)
No tools match.