naftiko: 1.0.0-alpha2 info: label: MongoDB Atlas Administration API — Global Clusters description: 'MongoDB Atlas Administration API — Global Clusters. 5 operations. Lead operation: Return One Managed Namespace in One Global Cluster. Self-contained Naftiko capability covering one Mongodb business surface.' tags: - Mongodb - Global Clusters created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MONGODB_API_KEY: MONGODB_API_KEY capability: consumes: - type: http namespace: atlas-global-clusters baseUri: https://cloud.mongodb.com description: MongoDB Atlas Administration API — Global Clusters business capability. Self-contained, no shared references. resources: - name: api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites path: /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites operations: - name: getgroupclusterglobalwrites method: GET description: Return One Managed Namespace in One Global Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterName in: path type: string description: Human-readable label that identifies this cluster. required: true - name: api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites-customZoneMapping path: /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping operations: - name: deletegroupclusterglobalwritecustomzonemapping method: DELETE description: Remove All Custom Zone Mappings from One Global Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterName in: path type: string description: Human-readable label that identifies this cluster. required: true - name: creategroupclusterglobalwritecustomzonemapping method: POST description: Add One Custom Zone Mapping to One Global Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterName in: path type: string description: Human-readable label that identifies this cluster. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites-managedNamespaces path: /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces operations: - name: deletegroupclusterglobalwritemanagednamespaces method: DELETE description: Remove One Managed Namespace from One Global Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterName in: path type: string description: Human-readable label that identifies this cluster. required: true - name: db in: query type: string description: Human-readable label that identifies the database that contains the collection. - name: collection in: query type: string description: Human-readable label that identifies the collection associated with the managed namespace. - name: creategroupclusterglobalwritemanagednamespace method: POST description: Create One Managed Namespace in One Global Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterName in: path type: string description: Human-readable label that identifies this cluster. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MONGODB_API_KEY}}' exposes: - type: rest namespace: atlas-global-clusters-rest port: 8080 description: REST adapter for MongoDB Atlas Administration API — Global Clusters. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/atlas/v2/groups/{groupid}/clusters/{clustername}/globalwrites name: api-atlas-v2-groups-groupid-clusters-clustername-globalwrites description: REST surface for api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites. operations: - method: GET name: getgroupclusterglobalwrites description: Return One Managed Namespace in One Global Cluster call: atlas-global-clusters.getgroupclusterglobalwrites with: clusterName: rest.clusterName outputParameters: - type: object mapping: $. - path: /v1/api/atlas/v2/groups/{groupid}/clusters/{clustername}/globalwrites/customzonemapping name: api-atlas-v2-groups-groupid-clusters-clustername-globalwrites-customzonemapping description: REST surface for api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites-customZoneMapping. operations: - method: DELETE name: deletegroupclusterglobalwritecustomzonemapping description: Remove All Custom Zone Mappings from One Global Cluster call: atlas-global-clusters.deletegroupclusterglobalwritecustomzonemapping with: clusterName: rest.clusterName outputParameters: - type: object mapping: $. - method: POST name: creategroupclusterglobalwritecustomzonemapping description: Add One Custom Zone Mapping to One Global Cluster call: atlas-global-clusters.creategroupclusterglobalwritecustomzonemapping with: clusterName: rest.clusterName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/atlas/v2/groups/{groupid}/clusters/{clustername}/globalwrites/managednamespaces name: api-atlas-v2-groups-groupid-clusters-clustername-globalwrites-managednamespaces description: REST surface for api-atlas-v2-groups-groupId-clusters-clusterName-globalWrites-managedNamespaces. operations: - method: DELETE name: deletegroupclusterglobalwritemanagednamespaces description: Remove One Managed Namespace from One Global Cluster call: atlas-global-clusters.deletegroupclusterglobalwritemanagednamespaces with: clusterName: rest.clusterName db: rest.db collection: rest.collection outputParameters: - type: object mapping: $. - method: POST name: creategroupclusterglobalwritemanagednamespace description: Create One Managed Namespace in One Global Cluster call: atlas-global-clusters.creategroupclusterglobalwritemanagednamespace with: clusterName: rest.clusterName body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: atlas-global-clusters-mcp port: 9090 transport: http description: MCP adapter for MongoDB Atlas Administration API — Global Clusters. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: return-one-managed-namespace-one description: Return One Managed Namespace in One Global Cluster hints: readOnly: true destructive: false idempotent: true call: atlas-global-clusters.getgroupclusterglobalwrites with: clusterName: tools.clusterName outputParameters: - type: object mapping: $. - name: remove-all-custom-zone-mappings description: Remove All Custom Zone Mappings from One Global Cluster hints: readOnly: false destructive: true idempotent: true call: atlas-global-clusters.deletegroupclusterglobalwritecustomzonemapping with: clusterName: tools.clusterName outputParameters: - type: object mapping: $. - name: add-one-custom-zone-mapping description: Add One Custom Zone Mapping to One Global Cluster hints: readOnly: false destructive: false idempotent: false call: atlas-global-clusters.creategroupclusterglobalwritecustomzonemapping with: clusterName: tools.clusterName body: tools.body outputParameters: - type: object mapping: $. - name: remove-one-managed-namespace-one description: Remove One Managed Namespace from One Global Cluster hints: readOnly: false destructive: true idempotent: true call: atlas-global-clusters.deletegroupclusterglobalwritemanagednamespaces with: clusterName: tools.clusterName db: tools.db collection: tools.collection outputParameters: - type: object mapping: $. - name: create-one-managed-namespace-one description: Create One Managed Namespace in One Global Cluster hints: readOnly: false destructive: false idempotent: false call: atlas-global-clusters.creategroupclusterglobalwritemanagednamespace with: clusterName: tools.clusterName body: tools.body outputParameters: - type: object mapping: $.