Monitor Plan Management OpenAPI Specification — Plans

Plans. 2 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.

Run with Naftiko EPAPlans

What You Can Do

GET
Monitorplancontrollerexportmonitorplan — monitorPlanControllerexportMonitorPlan
/v1/monitor-plan-mgmt/plans/export
GET
Monitorplancontrollergetmonitorplan — monitorPlanControllergetMonitorPlan
/v1/monitor-plan-mgmt/plans/{planid}

MCP Tools

monitorplancontroller-exportmonitorplan

monitorplancontroller-exportmonitorplan

read-only idempotent
monitorplancontroller-getmonitorplan

monitorplancontroller-getmonitorplan

read-only idempotent

Capability Spec

cam-monitor-plan-plans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Monitor Plan Management OpenAPI Specification — Plans
  description: 'Plans. 2 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.'
  tags:
    - EPA
    - Plans
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
  - namespace: env
    keys:
      EPA_APIKEY_KEY: EPA_APIKEY_KEY
capability:
  consumes:
    - type: http
      namespace: cam-monitor-plan-plans
      baseUri: https://api.epa.gov/easey
      description: Monitor Plan Management OpenAPI Specification — Plans business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: x-api-key
        value: '{{env.EPA_APIKEY_KEY}}'
        placement: header
      resources:
        - name: monitor-plan-mgmt-plans-export
          path: /monitor-plan-mgmt/plans/export
          operations:
            - name: monitorPlanControllerexportMonitorPlan
              method: GET
              description: monitorPlanControllerexportMonitorPlan
              inputParameters:
                - name: planId
                  in: query
                  type: string
                  required: true
                  description: The Monintor Plan Summary ID is a unique identifier for a monitor plan record
                - name: reportedValuesOnly
                  in: query
                  type: boolean
                  required: false
                  description: reportedValuesOnly
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: monitor-plan-mgmt-plans-planid
          path: /monitor-plan-mgmt/plans/{planId}
          operations:
            - name: monitorPlanControllergetMonitorPlan
              method: GET
              description: monitorPlanControllergetMonitorPlan
              inputParameters:
                - name: planId
                  in: path
                  type: string
                  required: true
                  description: planId
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: cam-monitor-plan-plans-rest
      port: 8080
      description: REST adapter for Monitor Plan Management OpenAPI Specification — Plans. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/monitor-plan-mgmt/plans/export
          name: monitor-plan-mgmt-plans-export
          description: REST surface for monitorPlanControllerexportMonitorPlan.
          operations:
            - method: GET
              name: monitorPlanControllerexportMonitorPlan
              description: monitorPlanControllerexportMonitorPlan
              call: cam-monitor-plan-plans.monitorPlanControllerexportMonitorPlan
              with:
                planId: rest.planId
                reportedValuesOnly: rest.reportedValuesOnly
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/monitor-plan-mgmt/plans/{planid}
          name: monitor-plan-mgmt-plans-planid
          description: REST surface for monitorPlanControllergetMonitorPlan.
          operations:
            - method: GET
              name: monitorPlanControllergetMonitorPlan
              description: monitorPlanControllergetMonitorPlan
              call: cam-monitor-plan-plans.monitorPlanControllergetMonitorPlan
              with:
                planId: rest.planId
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: cam-monitor-plan-plans-mcp
      port: 9090
      transport: http
      description: MCP adapter for Monitor Plan Management OpenAPI Specification — Plans. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: monitorplancontroller-exportmonitorplan
          description: monitorplancontroller-exportmonitorplan
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: cam-monitor-plan-plans.monitorPlanControllerexportMonitorPlan
          with:
            planId: tools.planId
            reportedValuesOnly: tools.reportedValuesOnly
          outputParameters:
            - type: object
              mapping: $.
        - name: monitorplancontroller-getmonitorplan
          description: monitorplancontroller-getmonitorplan
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: cam-monitor-plan-plans.monitorPlanControllergetMonitorPlan
          with:
            planId: tools.planId
          outputParameters:
            - type: object
              mapping: $.