TVmaze · Capability

TVmaze Public API — Seasons

TVmaze Public API — Seasons. 2 operations. Lead operation: Get Season. Self-contained Naftiko capability covering one TVmaze business surface.

Run with Naftiko TVmazePublic APISeasons

What You Can Do

GET
Getseason — Get Season
/v1/seasons/{id}
GET
Getseasonepisodes — Get Season Episodes
/v1/seasons/{id}/episodes

MCP Tools

get-season

Get Season

read-only idempotent
get-season-episodes

Get Season Episodes

read-only idempotent

Capability Spec

public-seasons.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "TVmaze Public API \u2014 Seasons"
  description: "TVmaze Public API \u2014 Seasons. 2 operations. Lead operation: Get Season. Self-contained Naftiko capability\
    \ covering one TVmaze business surface."
  tags:
  - TVmaze
  - Public API
  - Seasons
  created: '2026-05-30'
  modified: '2026-05-30'
binds: []
capability:
  consumes:
  - type: http
    namespace: public-seasons
    baseUri: https://api.tvmaze.com
    description: "TVmaze Public API \u2014 Seasons business capability. Self-contained, no shared references."
    resources:
    - name: seasons-id
      path: /seasons/{id}
      operations:
      - name: getSeason
        method: GET
        description: Get Season
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: seasons-id-episodes
      path: /seasons/{id}/episodes
      operations:
      - name: getSeasonEpisodes
        method: GET
        description: Get Season Episodes
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
          description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: public-seasons-rest
    port: 8080
    description: "REST adapter for TVmaze Public API \u2014 Seasons. One Spectral-compliant resource per consumed operation,\
      \ prefixed with /v1."
    resources:
    - path: /v1/seasons/{id}
      name: seasons-id
      description: REST surface for /seasons/{id}.
      operations:
      - method: GET
        name: getSeason
        description: Get Season
        call: public-seasons.getSeason
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/seasons/{id}/episodes
      name: seasons-id-episodes
      description: REST surface for /seasons/{id}/episodes.
      operations:
      - method: GET
        name: getSeasonEpisodes
        description: Get Season Episodes
        call: public-seasons.getSeasonEpisodes
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: public-seasons-mcp
    port: 9090
    transport: http
    description: "MCP adapter for TVmaze Public API \u2014 Seasons. One tool per consumed operation, routed inline through\
      \ this capability's consumes block."
    tools:
    - name: get-season
      description: Get Season
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: public-seasons.getSeason
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-season-episodes
      description: Get Season Episodes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: public-seasons.getSeasonEpisodes
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.