[
  {
    "name": "form5500_search",
    "description": "Search U.S. Department of Labor Form 5500 / 5500-SF filings (employee benefit & pension plans, EFAST2) by plan sponsor name, employer EIN, plan name, state, and/or plan year. Returns matching filings with sponsor, plan name/number, participant counts, plan assets, plan type, and a link to the filing PDF. Provide at least one of sponsor, ein, plan_name, or state.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "sponsor": {
          "type": "string",
          "description": "Plan sponsor / employer name (e.g. \"Apple Inc\", \"Microsoft\"). Partial/phrase match."
        },
        "ein": {
          "type": "string",
          "description": "Employer Identification Number (9 digits, dashes optional). Exact match."
        },
        "plan_name": {
          "type": "string",
          "description": "Plan name (e.g. \"401(k) Profit Sharing Plan\"). Partial/phrase match."
        },
        "state": {
          "type": "string",
          "description": "Two-letter U.S. state code of the sponsor (e.g. \"CA\", \"NY\")."
        },
        "plan_year": {
          "type": "number",
          "description": "Plan year of the filing (e.g. 2022)."
        },
        "limit": {
          "type": "number",
          "description": "Number of results to return (1-200, default 20)."
        },
        "start": {
          "type": "number",
          "description": "Offset for pagination (default 0)."
        },
        "sort": {
          "type": "string",
          "description": "Sort order. One of: \"datereceived desc\" (default), \"datereceived asc\", \"planyear desc\", \"planyear asc\", \"assetseoy desc\", \"participantsboy desc\"."
        }
      }
    }
  },
  {
    "name": "form5500_filing",
    "description": "Get Form 5500 filing detail from the DOL EFAST2 index. Pass ack_id for a single filing (sponsor, plan name/number, participant counts, begin/end-of-year plan assets, plan type, filing date, and full filing PDF URL). Pass ein instead to get a plan sponsor's full filing history (all Form 5500 filings for that EIN, newest first). For an ack_id the response also carries the plan's Schedule H (large plans) or Schedule I (small plans) financial line items - employer / participant / total contributions, income, benefits paid, expenses, assets and liabilities - from the U.S. Department of Labor, EBSA, Form 5500 Schedule H/I datasets (stored copy, data_as_of stated), under schedule_h or schedule_i. schedule_status is always one of h, i, not_filed_sf (5500-SF filers file neither schedule), full_form_no_schedule, not_loaded_year, not_in_dataset_yet, unknown_plan_year, store_unavailable - never a silent null. Schedule C service providers are not included; pdf_url links to the complete filing.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "ack_id": {
          "type": "string",
          "description": "EFAST2 Acknowledgement ID (the 30-char filing id, e.g. \"20230407122300NAL0001820321001\"). Returns one filing."
        },
        "ein": {
          "type": "string",
          "description": "Employer Identification Number (9 digits, dashes optional). Returns the full filing history for that employer."
        },
        "limit": {
          "type": "number",
          "description": "For ein history: max filings to return (1-200, default 50)."
        }
      }
    }
  },
  {
    "name": "form5500_schedule",
    "description": "Schedule H (large plan) or Schedule I (small plan) financial line items for a retirement / benefit plan, looked up by employer EIN + plan number (+ plan year) with no Ack ID needed. Returns employer, participant and total contributions, income, benefits paid, administrative expenses, assets and liabilities, plus every stored DOL line by its DOL column name. Source: U.S. Department of Labor, EBSA, Form 5500 Schedule H/I datasets (stored copy; data_as_of and loaded plan years in every response). Omit plan_year for all stored years, newest first. A plan that filed a Form 5500-SF has neither schedule.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "ein": {
          "type": "string",
          "description": "Employer Identification Number (9 digits, dashes optional)."
        },
        "plan_number": {
          "type": "string",
          "description": "Three-digit plan number (e.g. \"001\"; \"1\" is accepted)."
        },
        "plan_year": {
          "type": "number",
          "description": "Plan year (e.g. 2022). Omit for every stored plan year."
        }
      },
      "required": [
        "ein",
        "plan_number"
      ]
    }
  }
]
