{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 0.98,
      "type": "noul"
    },
    "c02": {
      "noul": 0.98,
      "type": "noul"
    },
    "c03": {
      "noul": 0.96,
      "type": "noul"
    },
    "c04": {
      "noul": 0.99,
      "type": "noul"
    },
    "c05": {
      "noul": 0.99,
      "type": "noul"
    },
    "c06": {
      "noul": 0.99,
      "type": "noul"
    },
    "c07": {
      "noul": 0.99,
      "type": "noul"
    },
    "c08": {
      "noul": 0.99,
      "type": "noul"
    },
    "c09": {
      "noul": 0.99,
      "type": "noul"
    },
    "c10": {
      "noul": 0.99,
      "type": "noul"
    },
    "c11": {
      "noul": 0.99,
      "type": "noul"
    },
    "c12": {
      "noul": 0.93,
      "type": "noul"
    },
    "w00": {
      "noul": 0.89,
      "type": "noul"
    },
    "w01": {
      "noul": 0.91,
      "type": "noul"
    },
    "w02": {
      "noul": 0.92,
      "type": "noul"
    },
    "w03": {
      "noul": 0.95,
      "type": "noul"
    },
    "w04": {
      "noul": 0.86,
      "type": "noul"
    },
    "w05": {
      "noul": 0.9,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T02:18:37Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.98,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.98,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.96,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.99,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.99,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.99,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.99,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.99,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.99,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.99,
      "question": "c10"
    },
    {
      "call": 11,
      "noul": 0.99,
      "question": "c11"
    },
    {
      "call": 12,
      "noul": 0.93,
      "question": "c12"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 17942,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_directory_search: category: Invalid option: expected one of \"doctors\"|\"labs-and-therapists\", field: Invalid input: expected string, received undefined",
          "tool": "maccabi_directory_search"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "category": {},
            "field": "didrun"
          },
          "parameter": "category",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_directory_search: category: Invalid option: expected one of \"doctors\"|\"labs-and-therapists\"",
          "tool": "maccabi_directory_search"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_report: document: Invalid option: expected one of \"latest_labs\"|\"followed_labs\"|\"allergies\"|\"vaccination_certificate\"|\"english_medical_summary\"|\"purchased_medications\"",
          "tool": "maccabi_report"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "document": {}
          },
          "parameter": "document",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_report: document: Invalid option: expected one of \"latest_labs\"|\"followed_labs\"|\"allergies\"|\"vaccination_certificate\"|\"english_medical_summary\"|\"purchased_medications\"",
          "tool": "maccabi_report"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_hospital_visits: as_of: Invalid input: expected string, received undefined",
          "tool": "maccabi_hospital_visits"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "as_of": {}
          },
          "parameter": "as_of",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_hospital_visits: as_of: Invalid input: expected string, received object",
          "tool": "maccabi_hospital_visits"
        },
        "type": "noul"
      },
      "c06": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_medical_certificates: from: Invalid input: expected string, received undefined, to: Invalid input: expected string, received undefined",
          "tool": "maccabi_medical_certificates"
        },
        "type": "noul"
      },
      "c07": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "from": {},
            "to": "didrun"
          },
          "parameter": "from",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_medical_certificates: from: Invalid input: expected string, received object, to: Use YYYY-MM-DD, to: Use a valid calendar date",
          "tool": "maccabi_medical_certificates"
        },
        "type": "noul"
      },
      "c08": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "limit": "not a number"
          },
          "parameter": "limit",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_imaging_studies: limit: Invalid input: expected number, received string",
          "tool": "maccabi_imaging_studies"
        },
        "type": "noul"
      },
      "c09": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "limit": "not a number"
          },
          "parameter": "limit",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_allergies: limit: Invalid input: expected number, received string",
          "tool": "maccabi_allergies"
        },
        "type": "noul"
      },
      "c10": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_assigned_doctor: as_of: Invalid input: expected string, received undefined",
          "tool": "maccabi_assigned_doctor"
        },
        "type": "noul"
      },
      "c11": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "as_of": {}
          },
          "parameter": "as_of",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Input validation error: Invalid arguments for tool maccabi_assigned_doctor: as_of: Invalid input: expected string, received object",
          "tool": "maccabi_assigned_doctor"
        },
        "type": "noul"
      },
      "c12": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "Tool didrun_unknown_tool not found",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## What the server can read\n\nThe Maccabi Health server supports **reads of the signed-in member’s own account** and an **anonymous public provider directory**. Its account reads include:\n\n- **Medical records:** test and laboratory results, analyte histories and reports; imaging-study series, image listings and DICOM metadata; prescriptions and dispensing information; referrals; vaccinations; recorded drug sensitivities; and medical summaries and recommendations.\n- **Care and communication:** past visits, upcoming appointments, doctor inquiries, administrative requests, hospital and emergency visits, certificates, letters and other material attached to sessions.\n- **Account and billing information:** profile and contact details, authorized users, notification settings, payment-method summaries, quarterly billing and nursing-insurance reports, and payer-account aggregate totals.\n- **Providers:** the assigned family doctor, recently visited providers, appointment eligibility and the first available clinic window for an eligible recent provider. The public directory can be searched by specialty, city and name without an account.\n\nMany records also have original PDFs. Account-wide PDFs, such as the vaccination certificate and latest-laboratory report, are accessed with `maccabi_report`.\n\n## Row references and `next` steps\n\nList tools return rows with opaque **`ref`** values. Use the ref as returned:\n\n- `maccabi_detail` reads the record behind a row—for example, lab values, visit details, a provider record, vaccination doses or prescription alternatives.\n- `maccabi_document` retrieves a row’s original PDF when one is available.\n- The ref carries the context needed for the follow-up, such as its date range or report period. You do **not** reconstruct it or combine identifiers from different rows.\n- For something *inside* a row, copy the selector from the returned payload: for example, `test_id` for an analyte history or `reference` for a listed attachment. Imaging metadata",
          "done_when": "The transcript shows the capabilities tool returning its description of supported reads, row references, next steps, and coverage limits.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            }
          ],
          "task": "What can the Maccabi health server read, and how do row references and next steps work? Include its coverage limits."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The **Maccabi health server** supports reads from the signed-in member’s own account and anonymous searches of Maccabi’s public provider directory. It also has limited session and scheduling operations, but it does **not** book or cancel appointments, pay, renew prescriptions, or mark items as read.\n\n## What it can read\n\n- **Account information:** profile, contact details, authorized users, notification settings and payment-method summaries.\n- **Clinical records:** test and laboratory results, analyte histories, imaging-study metadata, prescriptions and dispensing information, referrals, medical certificates, vaccinations, recorded drug sensitivities, recommendations and a selected medical summary.\n- **Care and correspondence:** past visits and their documents, upcoming appointments, the assigned family doctor, recent providers, doctor inquiries, administrative requests, hospital visits, mailings and additional information.\n- **Billing-related information:** catalogs of quarterly billing and nursing-insurance reports, plus outstanding **payer-account aggregate** totals.\n- **Original PDFs:** row-specific documents and certain account-wide reports, such as vaccination, sensitivity, latest-lab, purchased-medication and English medical-summary reports.\n- **Public directory:** specialties, cities, search results and provider details for doctors, labs, institutes and therapists, without signing in.\n\n## Row references and next steps\n\nA list result gives each supported row an opaque **`ref`**. Use that same reference with:\n\n- **`maccabi_detail`** to read the record behind the row—for example, lab values, a visit’s details, a provider’s details or a prescription’s listed alternatives.\n- **`maccabi_document`** to retrieve an eligible original PDF belonging to the row.\n- **`maccabi_report`** for an account-wide PDF that does not belong to one row.\n\nThe reference carries the context needed for the follow-up, such as a date range or report period. You don’t reconstruct identifie",
          "done_when": "The transcript shows the capabilities tool returning its description of supported reads, row references, next steps, and coverage limits.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            }
          ],
          "task": "What can the Maccabi health server read, and how do row references and next steps work? Include its coverage limits."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The **maccabi-health server** provides read access to supported parts of a member’s own Maccabi account and to the anonymous public provider directory. Its capabilities response also describes how to follow a result to its details or original document.\n\n## What it can read\n\n- **Clinical records:** test and laboratory results, analyte histories, imaging-study metadata, prescriptions and dispensing information, referrals, visits, vaccinations, recorded drug sensitivities, medical recommendations and selected medical-summary information.\n- **Appointments and care:** upcoming appointments, recent providers, the assigned family physician, booking eligibility and the first available clinic window for a supported recent provider.\n- **Correspondence and administration:** doctor inquiries, administrative requests, hospital admissions, certificates, mailings and certain billing and insurance reports.\n- **Account information:** profile and contact details, authorized users, notification settings and payment-method summaries.\n- **Public directory:** specialties, city keys, search results and provider details for doctors and for labs, institutes and therapists—without signing in.\n- **PDFs:** original row-specific documents, plus account-wide reports such as the vaccination certificate, sensitivity report and English medical summary.\n\n## Row references and next steps\n\nList tools return rows with opaque **`ref`** values. Pass a row’s reference to `maccabi_detail` for its supported details or to `maccabi_document` for its supported original PDF. The reference already carries the routing context needed for the follow-up, such as the relevant date range or report period, so identifiers from separate rows do not need to be assembled or paired.\n\nWhere a row contains multiple items, selectors come from the returned data. For example, `test_id` selects an analyte, and `reference` selects a listed attachment. Imaging metadata uses series and instance identifiers returned in the study’s de",
          "done_when": "The transcript shows the capabilities tool returning its description of supported reads, row references, next steps, and coverage limits.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            }
          ],
          "task": "What can the Maccabi health server read, and how do row references and next steps work? Include its coverage limits."
        },
        "type": "noul"
      },
      "w03": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I checked the local Maccabi sign-in status: **you’re signed out**. There is no saved session or sign-in waiting for an SMS code.",
          "done_when": "The transcript shows the local login-status tool reporting the current session or pending sign-in state.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            },
            {
              "arguments": {},
              "reply": "{\"status\":\"signed-out\"}",
              "tool": "maccabi_login_status"
            }
          ],
          "task": "Check whether a Maccabi session is saved or a sign-in is waiting for an SMS code."
        },
        "type": "noul"
      },
      "w04": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I checked the local Maccabi sign-in status: **no session is saved, and no sign-in is waiting for an SMS code**.",
          "done_when": "The transcript shows the local login-status tool reporting the current session or pending sign-in state.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            },
            {
              "arguments": {},
              "reply": "{\"status\":\"signed-out\"}",
              "tool": "maccabi_login_status"
            }
          ],
          "task": "Check whether a Maccabi session is saved or a sign-in is waiting for an SMS code."
        },
        "type": "noul"
      },
      "w05": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "I checked the local Maccabi sign-in status: **signed out**. No session is saved, and no sign-in is waiting for an SMS code.",
          "done_when": "The transcript shows the local login-status tool reporting the current session or pending sign-in state.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\"server\":{\"name\":\"maccabi-health\",\"version\":\"0.1.6\",\"transport\":\"stdio\"},\"howItWorks\":[\"A list tool returns rows. Every row carries an opaque `ref`.\",\"maccabi_detail reads the record behind a ref; maccabi_document returns that row's original PDF. Between them they cover every row-scoped read, so there is no third tool to find.\",\"A ref already holds everything the follow-up needs - a request id and its document id, a reference and the date range it was listed in, a report reference and its period - so two rows' identifiers can never be crossed. The raw identifiers stay in the row; they are for reading and correlating, not for reassembling.\",\"Two optional selectors pick something inside a row, and both are copied verbatim from a payload you already have: `test_id` for one analyte, `reference` for one listed attachment.\",\"maccabi_report returns the account-wide PDFs that belong to no row.\",\"Every result carries a `next` list: the calls that sensibly follow it, with their arguments already filled in from that result. Follow it instead of guessing.\"],\"flows\":[{\"goal\":\"A laboratory result, and its original report as a PDF\",\"steps\":[{\"tool\":\"maccabi_tests\",\"note\":\"Newest first. Laboratory rows are the ones with laboratory detail; `year` filters execution dates locally.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Pass the row's `ref`. Returns the values, units, reference ranges and partial-result flags.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same `ref`, variant=laboratory_report for the whole report, or no variant for whatever document the row attaches.\"}]},{\"goal\":\"The history of one analyte, further back than the summary list reaches\",\"steps\":[{\"tool\":\"maccabi_latest_labs\",\"note\":\"Find the analyte in a group and take its group_values[].test_id. The result's own `ref` identifies the latest-results view.\"},{\"tool\":\"maccabi_detail\",\"note\":\"That `ref` plus `test_id`. Returns current and historical values with graph eligibility.\"},{\"tool\":\"maccabi_document\",\"note\":\"Same pair with variant=comparison_graph or comparison_list for the source's own comparison PDF.\"}]},{\"goal\":\"An imaging study's series, images and per-image DICOM metadata\",\"steps\":[{\"tool\":\"maccabi_imaging_studies\",\"note\":\"Imaging rows have no attached document; their scans live in the external viewer.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns study date, modality and the series/instances tree.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref` plus a series_instance_uid and sop_instance_uid from that tree, for one image's DICOM metadata. The pixels stop there: the preview JPEG and the raw buffer are megabyte-scale binaries a model cannot use, so `maccabi-health imaging-thumbnail` and `maccabi-health imaging-pixels` write them to a file in the member's own terminal instead.\"}]},{\"goal\":\"Upcoming appointments, and where to go for one\",\"steps\":[{\"tool\":\"maccabi_upcoming_appointments\",\"note\":\"Future only. Past visits are maccabi_past_visits.\"},{\"tool\":\"maccabi_detail\",\"note\":\"The row's `ref`. Returns the provider's contacts and the visit instructions; instruction links are returned, never fetched.\"}]},{\"goal\":\"A past visit and the documents from it\",\"steps\":[{\"tool\":\"maccabi_past_visits\",\"note\":\"Each row carries a `ref`.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Reads the visit and exposes a pdf_reference for each eligible attached document.\"},{\"tool\":\"maccabi_document\",\"note\":\"The visit's `ref` alone for its summary PDF, or with `reference` set to one of those pdf_reference values for an attachment.\"}]},{\"goal\":\"A prescription's PDF, and what else the pharmacy lists for it\",\"steps\":[{\"tool\":\"maccabi_prescriptions\",\"note\":\"`status` and `permanent` filter the same fetched response locally.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`, for a digital prescription with purchase status 1, 2 or 3.\"},{\"tool\":\"maccabi_detail\",\"note\":\"Same `ref`, for the alternatives the source lists. Not a recommendation to change treatment.\"}]},{\"goal\":\"Anything filed under a date range: certificates, letters, hospital admissions\",\"steps\":[{\"tool\":\"maccabi_medical_certificates\",\"note\":\"Or maccabi_mailings for letters, status notices and tutorials, or maccabi_hospital_visits for admissions. Each needs its dates up front. The row's `ref` carries those dates, so the download never has to be given them again.\"},{\"tool\":\"maccabi_document\",\"note\":\"The row's `ref`. A type-3 mailing also needs `reference` set to one of its tutorials[].pdf_reference values.\"}]},{\"goal\":\"A public provider, with no account at all\",\"steps\":[{\"tool\":\"maccabi_directory_specialties\",\"note\":\"Category `doctors`, or `labs-and-therapists` for labs, institutes and therapists. Returns the field keys a search takes.\"},{\"tool\":\"maccabi_directory_search\",\"note\":\"Category and field key, optionally a city key from maccabi_directory_cities, a name, or a page.\"},{\"tool\":\"maccabi_detail\",\"note\":\"A provider row's `ref`, which carries the search context the detail read needs.\"}]}],\"rowKinds\":[\"test\",\"latest_labs\",\"followed_labs\",\"visit\",\"inquiry\",\"administrative_request\",\"appointment\",\"provider\",\"vaccination_group\",\"prescription\",\"referral\",\"certificate\",\"mailing\",\"additional_information\",\"hospital_report\",\"billing_report\",\"nursing_insurance_report\",\"imaging_study\",\"directory_provider\"],\"signIn\":\"Signing in: maccabi_login_status reports local state, maccabi_login_start sends one SMS code and maccabi_login_verify completes the sign-in. Those two carry the ID number and the SMS code through this conversation and into model context, so prefer `maccabi-health login` in the member's own terminal whenever that is possible. One code per SMS: a wrong code ends the challenge instead of being retried, because retries lock the Maccabi account.\",\"writes\":\"None. This server reads. maccabi_renew_session changes session expiry and maccabi_clinic_availability opens a scheduling conversation and stops; nothing books, cancels, pays, renews a prescription or marks anything read.\",\"coverage\":{\"scope\":\"Supported own-account reads, anonymous public provider-directory reads, and explicit one-shot session renewal. No booking, cancellation, prescription renewal or read-state writes. Clinic availability starts a scheduling conversation; session renewal changes expiry state.\",\"directory\":\"Anonymous category-based field/city discovery, search/page selection and provider detail for doctors or labs-and-therapists. No account session. Browser search/page/detail responses observed; library live access remains unverified/challenge-blocked. Details re-run the returned selection context to bind private routing. No booking links, retries or bypass.\",\"session\":\"maccabi_renew_session renews the active owner session once, saves updated cookies, and stops on any error or reauthentication. It changes session expiry state; no continued-authentication guarantee, automatic SMS or background renewal. It cannot reset an open browser document's idle/logout countdown; sustained session preservation remains unproven.\",\"records\":\"Prescriptions and prescription PDFs, purchased-medication report PDF, referrals and referral PDFs, medical-certificate lists/PDFs in explicit date ranges, laboratory summaries/results and owner-listed imaging-result PDFs, visit history/details and source-backed summary PDFs, appointments, vaccination groups/certificate PDF, doctor-request lists/details, associated-visit referral PDFs and supported source-backed approval PDFs, an English medical-summary PDF, and projected sensitivity/administrative-request timelines.\",\"laboratory\":\"Latest-result groups, followed-test/counter/options envelope, original latest/followed reports and whole individual lab-report PDF. Comparison JSON/list-mode PDF and row attachment PDFs accept source=result/latest/followed with a unique test ID; only result takes request/doc IDs. Fresh owner data derives dates and routing. Latest and result-view comparison browser responses were observed; new getters and followed/whole-report branches are tested offline. No follow",
              "tool": "maccabi_capabilities"
            },
            {
              "arguments": {},
              "reply": "{\"status\":\"signed-out\"}",
              "tool": "maccabi_login_status"
            }
          ],
          "task": "Check whether a Maccabi session is saved or a sign-in is waiting for an SMS code."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M8303HCJ5ZX04ADHB0J3XR4J",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.89,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.91,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.92,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.95,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.86,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.9,
      "question": "w05"
    }
  ]
}
