M3ter · Capability

m3ter API — OrganizationConfig

m3ter API — OrganizationConfig. 2 operations. Lead operation: Retrieve OrganizationConfig. Self-contained Naftiko capability covering one M3ter business surface.

Run with Naftiko M3terOrganizationConfig

What You Can Do

GET
Getorganizationconfig — Retrieve OrganizationConfig
/v1/organizations/{orgid}/organizationconfig
PUT
Updateorganizationconfig — Update OrganizationConfig
/v1/organizations/{orgid}/organizationconfig

MCP Tools

retrieve-organizationconfig

Retrieve OrganizationConfig

read-only idempotent
update-organizationconfig

Update OrganizationConfig

idempotent

Capability Spec

m3ter-organizationconfig.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: m3ter API — OrganizationConfig
  description: 'm3ter API — OrganizationConfig. 2 operations. Lead operation: Retrieve OrganizationConfig. Self-contained
    Naftiko capability covering one M3ter business surface.'
  tags:
  - M3ter
  - OrganizationConfig
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    M3TER_API_KEY: M3TER_API_KEY
capability:
  consumes:
  - type: http
    namespace: m3ter-organizationconfig
    baseUri: https://api.m3ter.com
    description: m3ter API — OrganizationConfig business capability. Self-contained, no shared references.
    resources:
    - name: organizations-orgId-organizationconfig
      path: /organizations/{orgId}/organizationconfig
      operations:
      - name: getorganizationconfig
        method: GET
        description: Retrieve OrganizationConfig
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: UUID of the organization. The Organization represents your company as a direct customer of the m3ter
            service.
          required: true
      - name: updateorganizationconfig
        method: PUT
        description: Update OrganizationConfig
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: UUID of the organization. The Organization represents your company as a direct customer of the m3ter
            service.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.M3TER_API_KEY}}'
  exposes:
  - type: rest
    namespace: m3ter-organizationconfig-rest
    port: 8080
    description: REST adapter for m3ter API — OrganizationConfig. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations/{orgid}/organizationconfig
      name: organizations-orgid-organizationconfig
      description: REST surface for organizations-orgId-organizationconfig.
      operations:
      - method: GET
        name: getorganizationconfig
        description: Retrieve OrganizationConfig
        call: m3ter-organizationconfig.getorganizationconfig
        with:
          orgId: rest.orgId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateorganizationconfig
        description: Update OrganizationConfig
        call: m3ter-organizationconfig.updateorganizationconfig
        with:
          orgId: rest.orgId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: m3ter-organizationconfig-mcp
    port: 9090
    transport: http
    description: MCP adapter for m3ter API — OrganizationConfig. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: retrieve-organizationconfig
      description: Retrieve OrganizationConfig
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: m3ter-organizationconfig.getorganizationconfig
      with:
        orgId: tools.orgId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-organizationconfig
      description: Update OrganizationConfig
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: m3ter-organizationconfig.updateorganizationconfig
      with:
        orgId: tools.orgId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.