> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the tools of an MCP Gateway connector

> Return the tools the snapshot of a connector lists (`connectorId` from `getMcpGatewayConnectors`) as JSON `items` by name, removed ones included: each its `name` at the server, the `exposedName` employees see, its title and description (cut at 500 characters), its `kind` (`read`, `write` or `destructive`, from the hints it declares; `annotated: false` when it declares none and is read as `write`), the `hash` of its definition, its `status` for the whole company (`approved`: served as the policy allows its kind; `to_review`: new, or changed since approved when `changeDetectedAt` is set; `blocked`), `removedAt` once the server no longer lists it, and `scanVerdict` (`clean`, `to_review` or `dangerous`; null for a removed tool, and for one not scanned yet, `scansComplete` then false: read again). To list them again from the server, use `refreshMcpGatewayConnectorTools`; to approve or block them, `setMcpGatewayConnectorToolStatuses`. A 404 means the company has no such connector. The MCP Gateway serves employees, through their one Primo connection, the tools of the MCP servers (connectors) IT added. No credential is ever sent or returned here: a shared account is connected, and the address or authentication of a custom connector changed, in the cockpit, at `cockpitUrl`. A company without the MCP Gateway gets a 403 `McpGatewayNotEnabledError`; a 503 means Primo could not check it, try again in a minute.

Key: ReadScope: Company


## OpenAPI

````yaml https://api.getprimo.com/openapi.json get /mcp-gateway/connectors/{connectorId}/tools
openapi: 3.1.1
info:
  title: Public API - BETA
  description: Read docs on https://docs.getprimo.com/
  version: '1.0'
  contact: {}
servers:
  - url: https://api.getprimo.com
security:
  - apikey: []
tags: []
paths:
  /mcp-gateway/connectors/{connectorId}/tools:
    get:
      tags:
        - McpGateway
      summary: Get the tools of an MCP Gateway connector
      description: >-
        Return the tools the snapshot of a connector lists (`connectorId` from
        `getMcpGatewayConnectors`) as JSON `items` by name, removed ones
        included: each its `name` at the server, the `exposedName` employees
        see, its title and description (cut at 500 characters), its `kind`
        (`read`, `write` or `destructive`, from the hints it declares;
        `annotated: false` when it declares none and is read as `write`), the
        `hash` of its definition, its `status` for the whole company
        (`approved`: served as the policy allows its kind; `to_review`: new, or
        changed since approved when `changeDetectedAt` is set; `blocked`),
        `removedAt` once the server no longer lists it, and `scanVerdict`
        (`clean`, `to_review` or `dangerous`; null for a removed tool, and for
        one not scanned yet, `scansComplete` then false: read again). To list
        them again from the server, use `refreshMcpGatewayConnectorTools`; to
        approve or block them, `setMcpGatewayConnectorToolStatuses`. A 404 means
        the company has no such connector. The MCP Gateway serves employees,
        through their one Primo connection, the tools of the MCP servers
        (connectors) IT added. No credential is ever sent or returned here: a
        shared account is connected, and the address or authentication of a
        custom connector changed, in the cockpit, at `cockpitUrl`. A company
        without the MCP Gateway gets a 403 `McpGatewayNotEnabledError`; a 503
        means Primo could not check it, try again in a minute.
      operationId: getMcpGatewayConnectorTools
      parameters:
        - name: connectorId
          required: true
          in: path
          schema:
            type: string
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetMcpGatewayConnectorToolsResponse_Output
components:
  schemas:
    GetMcpGatewayConnectorToolsResponse_Output:
      type: object
      properties:
        scansComplete:
          type: boolean
          description: Whether every tool still listed is scanned
        items:
          type: array
          items:
            type: object
            properties:
              name:
                description: >-
                  Its name at the server, which
                  `setMcpGatewayConnectorToolStatuses` takes
                type: string
              exposedName:
                description: The name employees see it under in their AI client
                type: string
              title:
                anyOf:
                  - type: string
                  - type: 'null'
              description:
                description: Cut at 500 characters
                anyOf:
                  - type: string
                  - type: 'null'
              kind:
                type: string
                enum:
                  - read
                  - write
                  - destructive
              annotated:
                description: >-
                  Whether it declares its kind; one that does not is read as
                  `write`
                type: boolean
              hash:
                description: >-
                  The hash of its definition, which
                  `setMcpGatewayConnectorToolStatuses` takes
                type: string
              status:
                type: string
                enum:
                  - approved
                  - blocked
                  - to_review
              changeDetectedAt:
                description: When the change of a tool to review was detected
                anyOf:
                  - type: string
                  - type: 'null'
              skipReason:
                description: Why the definition the server lists now is not stored
                anyOf:
                  - type: string
                  - type: 'null'
              removedAt:
                description: When the server stopped listing it
                anyOf:
                  - type: string
                  - type: 'null'
              scanVerdict:
                anyOf:
                  - type: string
                    enum:
                      - clean
                      - to_review
                      - dangerous
                  - type: 'null'
            required:
              - name
              - exposedName
              - title
              - description
              - kind
              - annotated
              - hash
              - status
              - changeDetectedAt
              - skipReason
              - removedAt
              - scanVerdict
            additionalProperties: false
      required:
        - scansComplete
        - items
      additionalProperties: false
  securitySchemes:
    apikey:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Use your Primo API key in the Authorization header as `Bearer
        <API_KEY>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.