Rely.io · Capability

Rely.io Public API — Scorecards

Rely.io Public API — Scorecards. 5 operations. Lead operation: List Scorecards. Self-contained Naftiko capability covering one Rely business surface.

Run with Naftiko RelyScorecards

What You Can Do

GET
Listscorecards — List Scorecards
/v1/api/v1/scorecards
POST
Createscorecard — Create Scorecard
/v1/api/v1/scorecards
GET
Getscorecard — Get Scorecard
/v1/api/v1/scorecards/{scorecardid}
PUT
Updatescorecard — Update Scorecard
/v1/api/v1/scorecards/{scorecardid}
DELETE
Deletescorecard — Delete Scorecard
/v1/api/v1/scorecards/{scorecardid}

MCP Tools

list-scorecards

List Scorecards

read-only idempotent
create-scorecard

Create Scorecard

get-scorecard

Get Scorecard

read-only idempotent
update-scorecard

Update Scorecard

idempotent
delete-scorecard

Delete Scorecard

idempotent

Capability Spec

rely-scorecards.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Rely.io Public API — Scorecards
  description: 'Rely.io Public API — Scorecards. 5 operations. Lead operation: List Scorecards. Self-contained Naftiko capability
    covering one Rely business surface.'
  tags:
  - Rely
  - Scorecards
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RELY_API_KEY: RELY_API_KEY
capability:
  consumes:
  - type: http
    namespace: rely-scorecards
    baseUri: https://api.rely.io
    description: Rely.io Public API — Scorecards business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-scorecards
      path: /api/v1/scorecards
      operations:
      - name: listscorecards
        method: GET
        description: List Scorecards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createscorecard
        method: POST
        description: Create Scorecard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-scorecards-scorecardId
      path: /api/v1/scorecards/{scorecardId}
      operations:
      - name: getscorecard
        method: GET
        description: Get Scorecard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatescorecard
        method: PUT
        description: Update Scorecard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletescorecard
        method: DELETE
        description: Delete Scorecard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.RELY_API_KEY}}'
  exposes:
  - type: rest
    namespace: rely-scorecards-rest
    port: 8080
    description: REST adapter for Rely.io Public API — Scorecards. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/scorecards
      name: api-v1-scorecards
      description: REST surface for api-v1-scorecards.
      operations:
      - method: GET
        name: listscorecards
        description: List Scorecards
        call: rely-scorecards.listscorecards
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createscorecard
        description: Create Scorecard
        call: rely-scorecards.createscorecard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/scorecards/{scorecardid}
      name: api-v1-scorecards-scorecardid
      description: REST surface for api-v1-scorecards-scorecardId.
      operations:
      - method: GET
        name: getscorecard
        description: Get Scorecard
        call: rely-scorecards.getscorecard
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatescorecard
        description: Update Scorecard
        call: rely-scorecards.updatescorecard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletescorecard
        description: Delete Scorecard
        call: rely-scorecards.deletescorecard
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rely-scorecards-mcp
    port: 9090
    transport: http
    description: MCP adapter for Rely.io Public API — Scorecards. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-scorecards
      description: List Scorecards
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rely-scorecards.listscorecards
      outputParameters:
      - type: object
        mapping: $.
    - name: create-scorecard
      description: Create Scorecard
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rely-scorecards.createscorecard
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-scorecard
      description: Get Scorecard
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rely-scorecards.getscorecard
      outputParameters:
      - type: object
        mapping: $.
    - name: update-scorecard
      description: Update Scorecard
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rely-scorecards.updatescorecard
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-scorecard
      description: Delete Scorecard
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rely-scorecards.deletescorecard
      outputParameters:
      - type: object
        mapping: $.