SSA Field Office Address API — Field Offices

SSA Field Office Address API — Field Offices. 1 operations. Lead operation: Query Field Offices. Self-contained Naftiko capability covering one Social Security Administration business surface.

Run with Naftiko Social Security AdministrationField Offices

What You Can Do

GET
Queryfieldoffices — Query Field Offices
/v1/1/query

MCP Tools

query-field-offices

Query Field Offices

read-only idempotent

Capability Spec

ssa-field-office-field-offices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SSA Field Office Address API — Field Offices
  description: 'SSA Field Office Address API — Field Offices. 1 operations. Lead operation: Query Field Offices. Self-contained
    Naftiko capability covering one Social Security Administration business surface.'
  tags:
  - Social Security Administration
  - Field Offices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SOCIAL_SECURITY_ADMINISTRATION_API_KEY: SOCIAL_SECURITY_ADMINISTRATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: ssa-field-office-field-offices
    baseUri: https://services6.arcgis.com/zFiipv75rloRP5N4/ArcGIS/rest/services/Office_Points/FeatureServer
    description: SSA Field Office Address API — Field Offices business capability. Self-contained, no shared references.
    resources:
    - name: 1-query
      path: /1/query
      operations:
      - name: queryfieldoffices
        method: GET
        description: Query Field Offices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: where
          in: query
          type: string
          description: SQL WHERE clause to filter records (use '1=1' for all records)
          required: true
        - name: outFields
          in: query
          type: string
          description: Comma-separated list of fields to return, or * for all fields
        - name: f
          in: query
          type: string
          description: Response format
        - name: resultOffset
          in: query
          type: integer
          description: Offset for pagination
        - name: resultRecordCount
          in: query
          type: integer
          description: Maximum number of records to return
        - name: orderByFields
          in: query
          type: string
          description: Fields to sort results by
        - name: geometry
          in: query
          type: string
          description: Spatial filter geometry (JSON)
        - name: geometryType
          in: query
          type: string
          description: Type of spatial geometry filter
        - name: inSR
          in: query
          type: integer
          description: Spatial reference of input geometry
        - name: spatialRel
          in: query
          type: string
          description: Spatial relationship for filtering
  exposes:
  - type: rest
    namespace: ssa-field-office-field-offices-rest
    port: 8080
    description: REST adapter for SSA Field Office Address API — Field Offices. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/1/query
      name: 1-query
      description: REST surface for 1-query.
      operations:
      - method: GET
        name: queryfieldoffices
        description: Query Field Offices
        call: ssa-field-office-field-offices.queryfieldoffices
        with:
          where: rest.where
          outFields: rest.outFields
          f: rest.f
          resultOffset: rest.resultOffset
          resultRecordCount: rest.resultRecordCount
          orderByFields: rest.orderByFields
          geometry: rest.geometry
          geometryType: rest.geometryType
          inSR: rest.inSR
          spatialRel: rest.spatialRel
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ssa-field-office-field-offices-mcp
    port: 9090
    transport: http
    description: MCP adapter for SSA Field Office Address API — Field Offices. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: query-field-offices
      description: Query Field Offices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ssa-field-office-field-offices.queryfieldoffices
      with:
        where: tools.where
        outFields: tools.outFields
        f: tools.f
        resultOffset: tools.resultOffset
        resultRecordCount: tools.resultRecordCount
        orderByFields: tools.orderByFields
        geometry: tools.geometry
        geometryType: tools.geometryType
        inSR: tools.inSR
        spatialRel: tools.spatialRel
      outputParameters:
      - type: object
        mapping: $.