Supaglue · Capability

Unified CRM API — StandardObjects

Unified CRM API — StandardObjects. 4 operations. Lead operation: Create standard object record. Self-contained Naftiko capability covering one Supaglue business surface.

Run with Naftiko SupaglueStandardObjects

What You Can Do

POST
Createstandardobjectrecord — Create standard object record
/v1/standard-objects/{object-name}/records
GET
Liststandardobjectrecords — List standard object records
/v1/standard-objects/{object-name}/records
PATCH
Updatestandardobjectrecord — Update standard object record
/v1/standard-objects/{object-name}/records/{record-id}
GET
Getstandardobjectrecord — Get standard object record
/v1/standard-objects/{object-name}/records/{record-id}

MCP Tools

create-standard-object-record

Create standard object record

list-standard-object-records

List standard object records

read-only idempotent
update-standard-object-record

Update standard object record

idempotent
get-standard-object-record

Get standard object record

read-only idempotent

Capability Spec

crm-standardobjects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified CRM API — StandardObjects
  description: 'Unified CRM API — StandardObjects. 4 operations. Lead operation: Create standard object record. Self-contained
    Naftiko capability covering one Supaglue business surface.'
  tags:
  - Supaglue
  - StandardObjects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPAGLUE_API_KEY: SUPAGLUE_API_KEY
capability:
  consumes:
  - type: http
    namespace: crm-standardobjects
    baseUri: https://api.supaglue.io/crm/v2
    description: Unified CRM API — StandardObjects business capability. Self-contained, no shared references.
    resources:
    - name: standard_objects-object_name-records
      path: /standard_objects/{object_name}/records
      operations:
      - name: createstandardobjectrecord
        method: POST
        description: Create standard object record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: liststandardobjectrecords
        method: GET
        description: List standard object records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: standard_objects-object_name-records-record_id
      path: /standard_objects/{object_name}/records/{record_id}
      operations:
      - name: updatestandardobjectrecord
        method: PATCH
        description: Update standard object record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getstandardobjectrecord
        method: GET
        description: Get standard object record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.SUPAGLUE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: crm-standardobjects-rest
    port: 8080
    description: REST adapter for Unified CRM API — StandardObjects. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/standard-objects/{object-name}/records
      name: standard-objects-object-name-records
      description: REST surface for standard_objects-object_name-records.
      operations:
      - method: POST
        name: createstandardobjectrecord
        description: Create standard object record
        call: crm-standardobjects.createstandardobjectrecord
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: liststandardobjectrecords
        description: List standard object records
        call: crm-standardobjects.liststandardobjectrecords
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/standard-objects/{object-name}/records/{record-id}
      name: standard-objects-object-name-records-record-id
      description: REST surface for standard_objects-object_name-records-record_id.
      operations:
      - method: PATCH
        name: updatestandardobjectrecord
        description: Update standard object record
        call: crm-standardobjects.updatestandardobjectrecord
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getstandardobjectrecord
        description: Get standard object record
        call: crm-standardobjects.getstandardobjectrecord
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: crm-standardobjects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unified CRM API — StandardObjects. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-standard-object-record
      description: Create standard object record
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: crm-standardobjects.createstandardobjectrecord
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-standard-object-records
      description: List standard object records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: crm-standardobjects.liststandardobjectrecords
      outputParameters:
      - type: object
        mapping: $.
    - name: update-standard-object-record
      description: Update standard object record
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: crm-standardobjects.updatestandardobjectrecord
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-standard-object-record
      description: Get standard object record
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: crm-standardobjects.getstandardobjectrecord
      outputParameters:
      - type: object
        mapping: $.