spa_get

Pack: medicaid-state-plans · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/spa_get for the schema, then POST the same URL with its arguments for the data.

Get one Medicaid State Plan Amendment by transmittal number (e.g. FL-25-0015, OH-22-0017): CMS Medicaid.gov metadata (state, summary, approval and effective dates, topics) plus the text of the approval package, returned as a window — offset and max_chars, default 8,000 characters — never the whole package. Follow text_next_offset until text_has_more is false. Scanned packages with no text layer say so instead of returning empty text. Set include_text=false for metadata only.

Parameters

NameTypeRequiredDescription
transmittal_numberstringyesState code, two-digit year and sequence, e.g. “FL-25-0015”.
offsetnumbernoCharacter offset into the extracted text (default 0).
max_charsnumbernoCharacters of text to return, 500-30000 (default 8000).
include_textbooleannofalse returns metadata and the package link only.

Example call

Arguments

{
  "transmittal_number": "FL-25-0015",
  "max_chars": 3000
}

curl

curl -X POST https://gateway.pipeworx.io/medicaid-state-plans/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spa_get","arguments":{"transmittal_number":"FL-25-0015","max_chars":3000}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('spa_get', {
  "transmittal_number": "FL-25-0015",
  "max_chars": 3000
});

Response shape

FieldTypeDescription
foundboolean
transmittal_numberstring
statestring
state_codestring
summarystring
approval_datestring
effective_datestring
topicsarray
documentsarray
package_urlstring
sourcestring
package_bytesnumber
package_pagesnumber
text_total_charsnumber
textstring
text_offsetnumber
text_returned_charsnumber
text_has_moreboolean
text_next_offsetnumber
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "transmittal_number": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "state_code": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "approval_date": {
      "type": "string"
    },
    "effective_date": {
      "type": "string"
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "package_url": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "package_bytes": {
      "type": "number"
    },
    "package_pages": {
      "type": "number"
    },
    "text_total_chars": {
      "type": "number"
    },
    "text": {
      "type": "string"
    },
    "text_offset": {
      "type": "number"
    },
    "text_returned_chars": {
      "type": "number"
    },
    "text_has_more": {
      "type": "boolean"
    },
    "text_next_offset": {
      "type": "number"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the medicaid-state-plans pack
{
  "mcpServers": {
    "medicaid-state-plans": {
      "url": "https://gateway.pipeworx.io/medicaid-state-plans/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 16, 2026