get_vouchers_procedure_catalog

Read-only

Calls GET /api/vouchers/procedure-catalog as the signed-in person · REST reference

Procedure-catalog reference rows and their distinct dimension values

The species / procedure / sex rows the portal drives its selects from, each carrying the voucher face-value cap for that combination. Alongside the rows the response repeats the DISTINCT values of each dimension in catalog order, so a select can be populated without the caller de-duplicating. Declared before /{id} so the literal path is not captured as a voucher id. Reference data — authenticated, but not org-scoped and not permission-gated. This endpoint CANNOT answer 500: every failure, including a DAL outage, is answered 503 with a fixed message so the portal can fall back to a disabled select instead of a broken page.

Arguments

ArgumentTypeDescription
includeInactivequery"true"Compared against the exact string 'true'. Any other value — including 1, yes or TRUE — returns launched rows only.

Example call

A client sends this over the MCP session; Claude and other agents build it for you. The values are placeholders — the shape is real.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_vouchers_procedure_catalog",
    "arguments": {}
  }
}

Result

On success (HTTP 200) the tool returns one text item holding the API's JSON, pretty-printed.

The catalog and its de-duplicated dimension values.

json
{
  "entries": [
    {
      "active": true,
      "id": "string",
      "maxPayout": 1,
      "procedure": "string",
      "sex": "string",
      "species": "string",
      "currency": "string",
      "displayName": "string"
    }
  ],
  "procedures": [
    "string"
  ],
  "sexes": [
    "string"
  ],
  "species": [
    "string"
  ]
}

Fields

FieldTypeDescription
entriesarray of object
entries[].activeboolean
entries[].currencystring | null
entries[].displayNamestring | null
entries[].idstring
entries[].maxPayoutintegerVoucher face-value cap in CENTS.
entries[].procedurestring
entries[].sexstring
entries[].speciesstring
proceduresarray of stringDistinct procedure values across entries, in catalog order.
sexesarray of stringDistinct sex values across entries, in catalog order.
speciesarray of stringDistinct species values across entries, in catalog order.

When it fails

A failed call returns isError: true with the API's message as text.

What the model is shown

This is the tool exactly as the server lists it in tools/list. The description starts with the REST call it makes.

json
{
  "name": "get_vouchers_procedure_catalog",
  "description": "GET /api/vouchers/procedure-catalog — The species / procedure / sex rows the portal drives its selects from, each carrying the voucher face-value cap for that combination. Alongside the rows the response repeats the DISTINCT values of each dimension in catalog order, so a select can be populated without the caller de-duplicating. Declared before `/{id}` so the literal path is not captured as a voucher id. Reference data — authenticated, but not org-scoped and not permission-gated. This endpoint CANNOT answer 500: every failure, including a DAL outage, is answered 503 with a fixed message so the portal can fall back to a disabled select instead of a broken page.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "includeInactive": {
        "type": "string",
        "description": "Compared against the exact string 'true'. Any other value — including 1, yes or TRUE — returns launched rows only."
      }
    }
  },
  "annotations": {
    "readOnlyHint": true,
    "openWorldHint": false
  }
}