naftiko: 1.0.0-alpha2 info: label: HashiCorp Nomad HTTP API — Scaling description: 'HashiCorp Nomad HTTP API — Scaling. 2 operations. Lead operation: List scaling policies. Self-contained Naftiko capability covering one Nomad business surface.' tags: - Nomad - Scaling created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NOMAD_API_KEY: NOMAD_API_KEY capability: consumes: - type: http namespace: http-scaling baseUri: http://localhost:4646/v1 description: HashiCorp Nomad HTTP API — Scaling business capability. Self-contained, no shared references. resources: - name: scaling-policies path: /scaling/policies operations: - name: listscalingpolicies method: GET description: List scaling policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: job in: query type: string description: Filter scaling policies by job ID. - name: type in: query type: string description: Filter scaling policies by type. - name: scaling-policy-policyID path: /scaling/policy/{policyID} operations: - name: readscalingpolicy method: GET description: Read a scaling policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyID in: path type: string description: The ID of the scaling policy. required: true authentication: type: bearer token: '{{env.NOMAD_API_KEY}}' exposes: - type: rest namespace: http-scaling-rest port: 8080 description: REST adapter for HashiCorp Nomad HTTP API — Scaling. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/scaling/policies name: scaling-policies description: REST surface for scaling-policies. operations: - method: GET name: listscalingpolicies description: List scaling policies call: http-scaling.listscalingpolicies with: job: rest.job type: rest.type outputParameters: - type: object mapping: $. - path: /v1/scaling/policy/{policyid} name: scaling-policy-policyid description: REST surface for scaling-policy-policyID. operations: - method: GET name: readscalingpolicy description: Read a scaling policy call: http-scaling.readscalingpolicy with: policyID: rest.policyID outputParameters: - type: object mapping: $. - type: mcp namespace: http-scaling-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Nomad HTTP API — Scaling. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-scaling-policies description: List scaling policies hints: readOnly: true destructive: false idempotent: true call: http-scaling.listscalingpolicies with: job: tools.job type: tools.type outputParameters: - type: object mapping: $. - name: read-scaling-policy description: Read a scaling policy hints: readOnly: true destructive: false idempotent: true call: http-scaling.readscalingpolicy with: policyID: tools.policyID outputParameters: - type: object mapping: $.