Vantage · Capability

Vantage Cost Management API — Teams

Vantage Cost Management API — Teams. 5 operations. Lead operation: Vantage Get All Teams. Self-contained Naftiko capability covering one Vantage business surface.

Run with Naftiko VantageTeams

What You Can Do

GET
Getteams — Vantage Get All Teams
/v1/teams
POST
Createteam — Vantage Create a Team
/v1/teams
GET
Getteam — Vantage Get a Team
/v1/teams/{team-token}
PUT
Updateteam — Vantage Update a Team
/v1/teams/{team-token}
DELETE
Deleteteam — Vantage Delete a Team
/v1/teams/{team-token}

MCP Tools

vantage-get-all-teams

Vantage Get All Teams

read-only idempotent
vantage-create-team

Vantage Create a Team

vantage-get-team

Vantage Get a Team

read-only idempotent
vantage-update-team

Vantage Update a Team

idempotent
vantage-delete-team

Vantage Delete a Team

idempotent

Capability Spec

cost-management-teams.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Vantage Cost Management API — Teams
  description: 'Vantage Cost Management API — Teams. 5 operations. Lead operation: Vantage Get All Teams. Self-contained Naftiko
    capability covering one Vantage business surface.'
  tags:
  - Vantage
  - Teams
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    VANTAGE_API_KEY: VANTAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: cost-management-teams
    baseUri: https://api.vantage.sh/v2
    description: Vantage Cost Management API — Teams business capability. Self-contained, no shared references.
    resources:
    - name: teams
      path: /teams
      operations:
      - name: getteams
        method: GET
        description: Vantage Get All Teams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createteam
        method: POST
        description: Vantage Create a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: teams-team_token
      path: /teams/{team_token}
      operations:
      - name: getteam
        method: GET
        description: Vantage Get a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateteam
        method: PUT
        description: Vantage Update a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteteam
        method: DELETE
        description: Vantage Delete a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.VANTAGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: cost-management-teams-rest
    port: 8080
    description: REST adapter for Vantage Cost Management API — Teams. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/teams
      name: teams
      description: REST surface for teams.
      operations:
      - method: GET
        name: getteams
        description: Vantage Get All Teams
        call: cost-management-teams.getteams
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createteam
        description: Vantage Create a Team
        call: cost-management-teams.createteam
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{team-token}
      name: teams-team-token
      description: REST surface for teams-team_token.
      operations:
      - method: GET
        name: getteam
        description: Vantage Get a Team
        call: cost-management-teams.getteam
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateteam
        description: Vantage Update a Team
        call: cost-management-teams.updateteam
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteteam
        description: Vantage Delete a Team
        call: cost-management-teams.deleteteam
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cost-management-teams-mcp
    port: 9090
    transport: http
    description: MCP adapter for Vantage Cost Management API — Teams. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: vantage-get-all-teams
      description: Vantage Get All Teams
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cost-management-teams.getteams
      outputParameters:
      - type: object
        mapping: $.
    - name: vantage-create-team
      description: Vantage Create a Team
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cost-management-teams.createteam
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vantage-get-team
      description: Vantage Get a Team
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cost-management-teams.getteam
      outputParameters:
      - type: object
        mapping: $.
    - name: vantage-update-team
      description: Vantage Update a Team
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cost-management-teams.updateteam
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: vantage-delete-team
      description: Vantage Delete a Team
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cost-management-teams.deleteteam
      outputParameters:
      - type: object
        mapping: $.