Google Voice · Capability

Google Voice API — Users

Google Voice API — Users. 2 operations. Lead operation: Google Voice List Users. Self-contained Naftiko capability covering one Google Voice business surface.

Run with Naftiko Google VoiceUsers

What You Can Do

GET
Listusers — Google Voice List Users
/v1/admin/directory/v1/users
GET
Getuser — Google Voice Get User
/v1/admin/directory/v1/users/{userkey}

MCP Tools

google-voice-list-users

Google Voice List Users

read-only idempotent
google-voice-get-user

Google Voice Get User

read-only idempotent

Capability Spec

openapi-users.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Voice API — Users
  description: 'Google Voice API — Users. 2 operations. Lead operation: Google Voice List Users. Self-contained Naftiko capability
    covering one Google Voice business surface.'
  tags:
  - Google Voice
  - Users
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_VOICE_API_KEY: GOOGLE_VOICE_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-users
    baseUri: https://admin.googleapis.com
    description: Google Voice API — Users business capability. Self-contained, no shared references.
    resources:
    - name: admin-directory-v1-users
      path: /admin/directory/v1/users
      operations:
      - name: listusers
        method: GET
        description: Google Voice List Users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain
          in: query
          type: string
          description: The domain name.
        - name: maxResults
          in: query
          type: integer
          description: Maximum number of results.
        - name: pageToken
          in: query
          type: string
          description: Token for pagination.
    - name: admin-directory-v1-users-userKey
      path: /admin/directory/v1/users/{userKey}
      operations:
      - name: getuser
        method: GET
        description: Google Voice Get User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userKey
          in: path
          type: string
          description: The user's email address or unique ID.
          required: true
  exposes:
  - type: rest
    namespace: openapi-users-rest
    port: 8080
    description: REST adapter for Google Voice API — Users. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/admin/directory/v1/users
      name: admin-directory-v1-users
      description: REST surface for admin-directory-v1-users.
      operations:
      - method: GET
        name: listusers
        description: Google Voice List Users
        call: openapi-users.listusers
        with:
          domain: rest.domain
          maxResults: rest.maxResults
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/admin/directory/v1/users/{userkey}
      name: admin-directory-v1-users-userkey
      description: REST surface for admin-directory-v1-users-userKey.
      operations:
      - method: GET
        name: getuser
        description: Google Voice Get User
        call: openapi-users.getuser
        with:
          userKey: rest.userKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-users-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Voice API — Users. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-voice-list-users
      description: Google Voice List Users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-users.listusers
      with:
        domain: tools.domain
        maxResults: tools.maxResults
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: google-voice-get-user
      description: Google Voice Get User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-users.getuser
      with:
        userKey: tools.userKey
      outputParameters:
      - type: object
        mapping: $.